JSPointerDispatcher

JSPointerDispatcher handles dispatching pointer events to JS from RootViews. If you implement RootView you need to call handleMotionEvent from onTouchEvent, onInterceptTouchEvent, onHoverEvent, onInterceptHoverEvent. It will correctly find the right view to handle the touch and also dispatch the appropriate event to JS

Constructors

Link copied to clipboard
constructor(viewGroup: ViewGroup)

Functions

Link copied to clipboard
open fun handleMotionEvent(motionEvent: MotionEvent, eventDispatcher: EventDispatcher, isCapture: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun onChildStartedNativeGesture(childView: View, motionEvent: MotionEvent, eventDispatcher: EventDispatcher)