-
public interface ReactScrollViewHelper.HasFlingAnimator
-
-
Method Summary
Modifier and Type Method Description abstract voidstartFlingAnimator(int start, int end)Start the fling animator that the ScrollView has to go from the start position to endposition. abstract ValueAnimatorgetFlingAnimator()Get the fling animator that is reused for the ScrollView to handle fling animation. abstract intgetFlingExtrapolatedDistance(int velocity)Get the fling distance with current velocity for prediction -
-
Method Detail
-
startFlingAnimator
abstract void startFlingAnimator(int start, int end)
Start the fling animator that the ScrollView has to go from the start position to endposition.
-
getFlingAnimator
abstract ValueAnimator getFlingAnimator()
Get the fling animator that is reused for the ScrollView to handle fling animation.
-
getFlingExtrapolatedDistance
abstract int getFlingExtrapolatedDistance(int velocity)
Get the fling distance with current velocity for prediction
-
-
-
-