ClickUtilities - A click toggler 🥳

ClickUtilities

ClickUtilities provides you with a total of two events and procedures that can toggle if a component is clickable or long clickable. The only reason I came up with this small extension is because long clicking on components you never want to long click on causes your device to vibrate if enabled.

This is excluded from my open-source policy.


OnComponentClick

Called when a component that was toggled as clickable, was clicked.

OnComponentClick

Parameter Return Type
component AndroidViewComponent


OnComponentLongClick

Called when a component that was toggled as long clickable, was long clicked.

OnComponentLongClick

Parameter Return Type
component AndroidViewComponent


ToggleClickable

Toggle whether the given component is clickable.

ToggleClickable

Input Type Parameter
AndroidViewComponent component
boolean clickable


ToggleLongClickable

Toggle whether the given component is long clickable.

ToggleLongClickable

Input Type Parameter
AndroidViewComponent component
boolean longClickable
If you have version 0.1.0 or are starting out with ClickUtilities, it is recommended to download version 0.1.1

Minimum version required is Android Lollipop 5.0 or API 21.

19 Likes

Nice extension :star_struck: :star_struck:

3 Likes

wow @SquishyOctopus you have launched 2 extension at one time
BTW nyc extension

2 Likes

That’s @SquishyOctopus power :muscle:

1 Like

Version 0.1.1

  • Bug fixes

Download

1 Like

Dear, can you add a block for double click event?

1 Like

No, because that is your job.

1 Like

nice extension but the link is broken can you please re upload it

It is not broken…

oh sorry ,my bad :grin:

1 Like

Can you add full Clickable and on touchDown and touchUp
Great extension thanks

1 Like

Full clickable is actually very easy to add and I can experiment with it, however don’t expect it to be stable at first.

1 Like