notifyNativeGestureEnded

Helper method that should be called when a native view ends 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 future gesture is not blocked.

Parameters

view

the View ending the native gesture

event

the MotionEvent that caused the gesture to be ended