Maybe make the block name InitializeExtension or InitializeAi2Tools
Hmm that is because the extension needs to find the procedure and do some internal changes. I will do some changes if possible.
Good Work @Kumaraswamy !
Will love to see the source code to know how it works internally if you make it open-source
read the topic from the post i gave. it might give you a idea.
Fix 1.2
- Fixed the latency issue, now extension takes much less time to post events
xyz.kumaraswamy.ai2tools.aix (10.2 KB)
Here is the source code of the extension
@Aarush_Kumar, It is a different approach as that one didn't work correctly as expected.
It doesn't seem to work with Kodular (Companion, APK not tested).
I checked it in Kodular companion and it works fine.
Hmm Im not sure if this has to do only something with kodular since an event KeyboardVisibility seems to trigger infinitely.
Edit: Can you test if the same things work on Ai2?
Of course it works with AI2.
The reason is just after the button is clicked other events get triggered and the label changes, adding a compare logic solved it.
Okay got it, its because kodular is calling an event continually which causes this behaviour.
Can you attach an aia example where you NEED to use this extension ?
This extension can listen for events for all components
OK, but for Button click I can use When Button Click, in which cases would I NEED to use this extension