-
public interface ReactScrollViewHelper.HasScrollEventThrottle
-
-
Method Summary
Modifier and Type Method Description abstract voidsetScrollEventThrottle(int scrollEventThrottle)Set the scroll event throttle in ms. abstract intgetScrollEventThrottle()Get the scroll event throttle in ms. abstract voidsetLastScrollDispatchTime(long lastScrollDispatchTime)Set the scroll view's last dispatch time for throttling abstract longgetLastScrollDispatchTime()Get the scroll view dispatch time for throttling -
-
Method Detail
-
setScrollEventThrottle
abstract void setScrollEventThrottle(int scrollEventThrottle)
Set the scroll event throttle in ms. This number is used to throttle the scroll events. Thedefault value is zero, which means the scroll events are sent with no throttle.
-
getScrollEventThrottle
abstract int getScrollEventThrottle()
Get the scroll event throttle in ms.
-
setLastScrollDispatchTime
abstract void setLastScrollDispatchTime(long lastScrollDispatchTime)
Set the scroll view's last dispatch time for throttling
-
getLastScrollDispatchTime
abstract long getLastScrollDispatchTime()
Get the scroll view dispatch time for throttling
-
-
-
-