Package 

Interface GestureEventListener

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean onTap(MotionEvent motionEvent) Called when the user has a tap gesture, before processing scroll handle toggling.
      abstract Unit onLongPress(MotionEvent motionEvent) Called when the user has a long tap gesture, before processing scroll handle toggling.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onTap

        @MainThread() abstract Boolean onTap(MotionEvent motionEvent)

        Called when the user has a tap gesture, before processing scroll handle toggling.

        Parameters:
        motionEvent - The {@link MotionEvent} that registered as a confirmed single tap.
      • onLongPress

        @MainThread() abstract Unit onLongPress(MotionEvent motionEvent)

        Called when the user has a long tap gesture, before processing scroll handle toggling.

        Parameters:
        motionEvent - The {@link MotionEvent} that registered as a confirmed long press.