Please I need to know if a button is LongClick or NOT.
I tried this sample code but it didn't work.
Sub Activity_Touch (Action As Int, X As Float, Y As Float)
The next code add the funcionality in b4x to capture the click & longClick using Touch, in case of b4j add the option to fire the longClick using the Right Mouse Click or the secondary mouse button.
- Unzip the file "XUI Views.b4xlib"
- Look for the file "SwiftButton.bas" and open
- Add the...
Unlike the ListView (and the many apps), LongClick on a Label inside a xCustomListView is not detected (nor, even less, on other View types).
Furthermore, the behavior is different in b4a and b4j; in b4a only the click event of the label fires, in b4j, after this event, also the LongClick of...
As far as I know xCustomListView now is included as internal library (lib version 1.67) but a not long time ago was a custom view until version 1.66.
My question is, how can I add an #Event: ItemLongClick (Index As Int, Value As Object) and use it in my app since there is not included the...