public class LithoGestureDetector
extends GestureDetector
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.
| Constructor and Description |
|---|
LithoGestureDetector(Context context,
OnGestureListener listener) |