notifyNativeGestureStarted
public static void notifyNativeGestureStarted(android.view.View view,
android.view.MotionEvent event)
Helper method that should be called when a native view starts a native gesture (e.g. a native
ScrollView takes control of a gesture stream and starts scrolling). This will handle
dispatching the appropriate events to JS to make sure the gesture in JS is canceled.
- Parameters:
view
- the View starting the native gesture
event
- the MotionEvent that caused the gesture to be started