-
public interface GestureEventListenerInterface for listening to gesture events.
-
-
Method Summary
Modifier and Type Method Description abstract BooleanonTap(MotionEvent motionEvent)Called when the user has a tap gesture, before processing scroll handle toggling. abstract UnitonLongPress(MotionEvent motionEvent)Called when the user has a long tap gesture, before processing scroll handle toggling. -
-
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.
-
-
-
-