public abstract class VerticalScrollProgressCalculator extends java.lang.Object implements TouchableScrollProgressCalculator
| Constructor and Description |
|---|
VerticalScrollProgressCalculator(VerticalScrollBoundsProvider scrollBoundsProvider) |
| Modifier and Type | Method and Description |
|---|---|
float |
calculateScrollProgress(android.view.MotionEvent event)
Calculates the scroll progress of a RecyclerView based on a motion event from a scroller
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculateScrollProgresspublic VerticalScrollProgressCalculator(VerticalScrollBoundsProvider scrollBoundsProvider)
public float calculateScrollProgress(android.view.MotionEvent event)
TouchableScrollProgressCalculatorcalculateScrollProgress in interface TouchableScrollProgressCalculatorevent - for which to calculate scroll progress