public class PagerGridSmoothScroller
extends androidx.recyclerview.widget.LinearSmoothScroller
构造器和说明 |
---|
PagerGridSmoothScroller(androidx.recyclerview.widget.RecyclerView recyclerView) |
限定符和类型 | 方法和说明 |
---|---|
protected float |
calculateSpeedPerPixel(android.util.DisplayMetrics displayMetrics) |
protected void |
onTargetFound(android.view.View targetView,
androidx.recyclerview.widget.RecyclerView.State state,
androidx.recyclerview.widget.RecyclerView.SmoothScroller.Action action) |
calculateDtToFit, calculateDxToMakeVisible, calculateDyToMakeVisible, calculateTimeForDeceleration, calculateTimeForScrolling, getHorizontalSnapPreference, getVerticalSnapPreference, onSeekTargetStep, onStart, onStop, updateActionForInterimTarget
computeScrollVectorForPosition, findViewByPosition, getChildCount, getChildPosition, getLayoutManager, getTargetPosition, instantScrollToPosition, isPendingInitialRun, isRunning, normalize, onChildAttachedToWindow, setTargetPosition, stop
public PagerGridSmoothScroller(@NonNull androidx.recyclerview.widget.RecyclerView recyclerView)
protected void onTargetFound(android.view.View targetView, androidx.recyclerview.widget.RecyclerView.State state, androidx.recyclerview.widget.RecyclerView.SmoothScroller.Action action)
onTargetFound
在类中 androidx.recyclerview.widget.LinearSmoothScroller
protected float calculateSpeedPerPixel(android.util.DisplayMetrics displayMetrics)
calculateSpeedPerPixel
在类中 androidx.recyclerview.widget.LinearSmoothScroller