longclick

  1. H

    Android Question I need to know if button is LongClick or Not

    Dear Experts 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) Select Action Case Activity.ACTION_DOWN 'code Case Activity.ACTION_MOVE '...
  2. Myr0n

    Android Example [B4X] SwiftButton - Adding Click/LongClick event

    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...
  3. LucaMs

    Android Question xCustomListView - LongClick

    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...
  4. Myr0n

    Android Question How can I add a new event in xCustomListView?

    Hello 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...
Top