public class ReactScrollViewHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTO |
static long |
MOMENTUM_DELAY |
static java.lang.String |
OVER_SCROLL_ALWAYS |
static java.lang.String |
OVER_SCROLL_NEVER |
Constructor and Description |
---|
ReactScrollViewHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
emitScrollBeginDragEvent(android.view.ViewGroup scrollView) |
static void |
emitScrollEndDragEvent(android.view.ViewGroup scrollView,
float xVelocity,
float yVelocity) |
static void |
emitScrollEvent(android.view.ViewGroup scrollView,
float xVelocity,
float yVelocity)
Shared by
ReactScrollView and ReactHorizontalScrollView . |
static void |
emitScrollMomentumBeginEvent(android.view.ViewGroup scrollView,
int xVelocity,
int yVelocity) |
static void |
emitScrollMomentumEndEvent(android.view.ViewGroup scrollView) |
static int |
parseOverScrollMode(java.lang.String jsOverScrollMode) |
public static final long MOMENTUM_DELAY
public static final java.lang.String OVER_SCROLL_ALWAYS
public static final java.lang.String AUTO
public static final java.lang.String OVER_SCROLL_NEVER
public static void emitScrollEvent(android.view.ViewGroup scrollView, float xVelocity, float yVelocity)
ReactScrollView
and ReactHorizontalScrollView
.public static void emitScrollBeginDragEvent(android.view.ViewGroup scrollView)
public static void emitScrollEndDragEvent(android.view.ViewGroup scrollView, float xVelocity, float yVelocity)
public static void emitScrollMomentumBeginEvent(android.view.ViewGroup scrollView, int xVelocity, int yVelocity)
public static void emitScrollMomentumEndEvent(android.view.ViewGroup scrollView)
public static int parseOverScrollMode(java.lang.String jsOverScrollMode)