JSTouch Dispatcher
JSTouchDispatcher handles dispatching touches to JS from RootViews. If you implement RootView you need to call handleTouchEvent from onTouchEvent and onInterceptTouchEvent. It will correctly find the right view to handle the touch and also dispatch the appropriate event to JS
Functions
Link copied to clipboard
open fun handleTouchEvent(ev: MotionEvent, eventDispatcher: EventDispatcher, @Nullable reactContext: ReactContext)
Main catalyst view is responsible for collecting and sending touch events to JS.
Link copied to clipboard
Link copied to clipboard