handleTouchEvent

open fun handleTouchEvent(ev: MotionEvent, eventDispatcher: EventDispatcher)


open fun handleTouchEvent(ev: MotionEvent, eventDispatcher: EventDispatcher, @Nullable reactContext: ReactContext)

Main catalyst view is responsible for collecting and sending touch events to JS. This method reacts for an incoming android native touch events (MotionEvent) and calls into when appropriate. It uses findTargetTagAndCoordinatesForTouch helper method for figuring out a react view ID in the case of ACTION_DOWN event (when the gesture starts).