public class LithoGestureDetector extends GestureDetector
GestureDetectorto be used in Litho lifecycle methods. Using this class ensures that UI Thread
Handleris 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|