Skip navigation links
A C E F G I O S U 

A

attachToRecyclerView(RecyclerView) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 

C

calculateDistanceToFinalSnap(RecyclerView.LayoutManager, View) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
calculateScrollDistance(int, int) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
com.github.rubensousa.gravitysnaphelper - package com.github.rubensousa.gravitysnaphelper
 
createScroller(RecyclerView.LayoutManager) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 

E

enableSnapping(Boolean) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 

F

findSnapView(RecyclerView.LayoutManager) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
findSnapView(RecyclerView.LayoutManager, boolean) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
FLING_DISTANCE_DISABLE - Static variable in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
FLING_SIZE_FRACTION_DISABLE - Static variable in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 

G

getCurrentSnappedPosition() - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
getCurrentSnappedPosition() - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 
getGravity() - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
Get the current gravity being applied
getMaxFlingDistance() - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
getMaxFlingSizeFraction() - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
getScrollMsPerInch() - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
getSnapHelper() - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 
getSnapLastItem() - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
getSnapToPadding() - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
GravityPagerSnapHelper - Class in com.github.rubensousa.gravitysnaphelper
Deprecated.
Use GravitySnapHelper instead
GravityPagerSnapHelper(int) - Constructor for class com.github.rubensousa.gravitysnaphelper.GravityPagerSnapHelper
Deprecated.
 
GravityPagerSnapHelper(int, GravitySnapHelper.SnapListener) - Constructor for class com.github.rubensousa.gravitysnaphelper.GravityPagerSnapHelper
Deprecated.
 
GravitySnapHelper - Class in com.github.rubensousa.gravitysnaphelper
A LinearSnapHelper that allows snapping to an edge or to the center.
GravitySnapHelper(int) - Constructor for class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
GravitySnapHelper(int, GravitySnapHelper.SnapListener) - Constructor for class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
GravitySnapHelper(int, boolean) - Constructor for class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
GravitySnapHelper(int, boolean, GravitySnapHelper.SnapListener) - Constructor for class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
 
GravitySnapHelper.SnapListener - Interface in com.github.rubensousa.gravitysnaphelper
A listener that's called when the RecyclerView used by GravitySnapHelper changes its scroll state to RecyclerView.SCROLL_STATE_IDLE and there's a valid snap position.
GravitySnapRecyclerView - Class in com.github.rubensousa.gravitysnaphelper
GravitySnapRecyclerView(Context) - Constructor for class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 
GravitySnapRecyclerView(Context, AttributeSet) - Constructor for class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 
GravitySnapRecyclerView(Context, AttributeSet, int) - Constructor for class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 

I

isSnappingEnabled() - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 

O

onInterceptTouchEvent(MotionEvent) - Method in class com.github.rubensousa.gravitysnaphelper.OrientationAwareRecyclerView
 
onSnap(int) - Method in interface com.github.rubensousa.gravitysnaphelper.GravitySnapHelper.SnapListener
 
OrientationAwareRecyclerView - Class in com.github.rubensousa.gravitysnaphelper
A RecyclerView that only handles scroll events with the same orientation of its LayoutManager.
OrientationAwareRecyclerView(Context) - Constructor for class com.github.rubensousa.gravitysnaphelper.OrientationAwareRecyclerView
 
OrientationAwareRecyclerView(Context, AttributeSet) - Constructor for class com.github.rubensousa.gravitysnaphelper.OrientationAwareRecyclerView
 
OrientationAwareRecyclerView(Context, AttributeSet, int) - Constructor for class com.github.rubensousa.gravitysnaphelper.OrientationAwareRecyclerView
 

S

scrollToPosition(int) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
This method will only work if there's a ViewHolder for the given position.
scrollToPosition(int) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 
setGravity(int, Boolean) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
Changes the gravity of this GravitySnapHelper and dispatches a smooth scroll for the new snap position.
setGravity(int) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
Changes the gravity of this GravitySnapHelper and dispatches a smooth scroll for the new snap position.
setMaxFlingDistance(int) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
Changes the max fling distance in absolute values.
setMaxFlingSizeFraction(float) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
Changes the max fling distance depending on the available size of the RecyclerView.
setScrollMsPerInch(float) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
Sets the scroll duration in ms per inch.
setSnapLastItem(boolean) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
Enable snapping of the last item that's snappable.
setSnapListener(GravitySnapHelper.SnapListener) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
Sets a GravitySnapHelper.SnapListener to listen for snap events
setSnapListener(GravitySnapHelper.SnapListener) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 
setSnapToPadding(boolean) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
If true, GravitySnapHelper will snap to the gravity edge plus any amount of padding that was set in the RecyclerView.
smoothScrollToPosition(int) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
Unlike GravitySnapHelper.scrollToPosition(int), this method will generally always find a snap view if the position is valid.
smoothScrollToPosition(int) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 
snapToNextPosition(Boolean) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 
snapToPreviousPosition(Boolean) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapRecyclerView
 

U

updateSnap(Boolean, Boolean) - Method in class com.github.rubensousa.gravitysnaphelper.GravitySnapHelper
Updates the current view to be snapped
A C E F G I O S U 
Skip navigation links