public class EdgeSnappingSmoothScroller
extends LinearSmoothScroller
Constructor and Description |
---|
EdgeSnappingSmoothScroller(Context context,
int snapPreference,
int offset) |
Modifier and Type | Method and Description |
---|---|
int |
calculateDtToFit(int viewStart,
int viewEnd,
int boxStart,
int boxEnd,
int snapPreference) |
protected int |
getHorizontalSnapPreference() |
protected int |
getVerticalSnapPreference() |