LithoGestureDetector

Simple wrapper of GestureDetector to be used in Litho lifecycle methods. Using this class ensures that UI Thread Handler is used for detecting gestures.

Main purpose of creating this wrapper is to avoid usages where developers do not explicitly provide UI Thread Handler inside @OnCreateLayout or other lifecycle methods that can be called from BG threads which would potentially cause the app crash.

Constructors

Link copied to clipboard
constructor(context: Context, listener: GestureDetector.OnGestureListener)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard