-
- All Implemented Interfaces:
public final class AlignLeftPagerSnapHelper extends PagerSnapHelper
-
-
Field Summary
Fields Modifier and Type Field Description private final RecyclerView
mRecyclerView
-
Constructor Summary
Constructors Constructor Description AlignLeftPagerSnapHelper()
-
Method Summary
Modifier and Type Method Description View
findSnapView(RecyclerView.LayoutManager layoutManager)
IntArray
calculateDistanceToFinalSnap(RecyclerView.LayoutManager layoutManager, View targetView)
Integer
findTargetSnapPosition(RecyclerView.LayoutManager layoutManager, Integer velocityX, Integer velocityY)
-
Methods inherited from class android.support.v7.widget.PagerSnapHelper
attachToRecyclerView, calculateScrollDistance, createScroller, onFling, snapToTargetExistingView
-
Methods inherited from class com.pointrlabs.core.map.helpers.AlignLeftPagerSnapHelper
createSnapScroller
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
findSnapView
View findSnapView(RecyclerView.LayoutManager layoutManager)
-
calculateDistanceToFinalSnap
IntArray calculateDistanceToFinalSnap(RecyclerView.LayoutManager layoutManager, View targetView)
-
findTargetSnapPosition
Integer findTargetSnapPosition(RecyclerView.LayoutManager layoutManager, Integer velocityX, Integer velocityY)
-
-
-
-