NativeGestureUtil

Utilities for native Views that interpret native gestures (e.g. ScrollView, ViewPager, etc.).

Functions

Link copied to clipboard

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.

Link copied to clipboard

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.