JSResponderHandler

This class coordinates JSResponder commands for UIManager. It should be set as OnInterceptTouchEventListener for all newly created native views that implements [ ] and thanks to the information whether JSResponder is set and to which view it will correctly coordinate the return values of OnInterceptTouchEventListener such that touch events will be dispatched to the view selected by JS gesture recognizer.

Single CatalystInstance should reuse same instance of this class.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
open override fun onInterceptTouchEvent(view: ViewGroup, event: MotionEvent): Boolean

Called when a onInterceptTouch is invoked on a view group

Link copied to clipboard
fun setJSResponder(tag: Int, viewParentBlockingNativeResponder: ViewParent?)