Thank you very much @Automate_MyProject
Maybe, but you don't know other's needs
UPDATE -
Here is the new version of extension
Changes
Now it returns the component
instead of id
Thanks to @WatermelonIce for suggestion
New blocks
component ~ component
It performs click of component without clicking that component. It can be done using procedures also still I thought to add it to extension.
Now it is possible to do long click of component.
New AIX
in.vedang.clicktool.aix (8.4 KB)
But sadly no unRegister
method....
Sorry for that will be added
I wanted to ask, why does anyone want to register an already clickable object? But the new longclick option make sense.
@Techno_Vedang, very useful extension. Thank you!
@Zol you are wrong. We don't know how others will use the extension so clarifying all things is always correct.
Thank you very much
More suggestions: Add the touchup and touchdown event
It is the View.OnTouchListener
sure but tomorrow
Thank you very much
i think so
I think they are not clickable until we put a on click listener on it
Hmmm... Listener is different from clickable.
Actually you can controll if they are clickable or not using setClickable
method, it's by default, set to true, but if it got set to false, neither the native click event nor the extension can detect touches on.
BTW, after the update only the long click event works, the click event doesn't work.
Then @Techno_Vedang might need to make an urgent update again as soon as possible
In Kodular it is, but I'm not sure about AI2
Let me test it now with setClickable
method in AI2
BTW, you can add a separate block for registering long click , i think that should solve it.
both are not possible in one block?
Nice Extension, Vedang:v:
Yes, it looks like this.
I am not able to use the extension when registered and clicked, nothing triggers.