ClickUtil Extension

ClickUtil



💡  Current Version 1.0
📁  File Size 10.96 KB
📦  com.ruwis.ClickUtil
📅   Created On 2021-08-28

Method Blocks


click
PerformClick - Method for PerformClick
component input type component

long
PerformLongClick - Method for PerformLongClick
component input type component

set
SetClickable - Method for SetClickable
component input type component
id input type number

Event Blocks

clickutilclick
Click - Event for Click
component output type component
id output type number

EventBlock5 *
LongClick - Event for LongClick
component output type component
id output type number


com.ruwis.ClickUtil.aix (11.0 KB)

3 Likes

Thank you for your work, but I don't know if we need another Click extension.

We have one in the community.

And here's another:

https://sunnythedeveloper.xyz/2021/07/29/clickutil-utils-extension-to-handle-click-events-of-views/

2 Likes

It gives component.
My extension gives id

I think it's insignificant because component is also some kind of identifier. "Any Blocks" also use component as an identifier. In my opinion, an additional Id is unnecessary.

that's a really good extension. love it

the clickZ is not working while compiling the app. its says Dx error. and after removing the clickZ component there is no error.