CenterSnappingSmoothScroller

LinearSmoothScroller subclass that snaps the target position to center.

Constructors

Link copied to clipboard
constructor(context: Context, offset: Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun calculateDtToFit(viewStart: Int, viewEnd: Int, boxStart: Int, boxEnd: Int, snapPreference: Int): Int
Link copied to clipboard
open fun calculateDxToMakeVisible(p0: View, p1: Int): Int
Link copied to clipboard
open fun calculateDyToMakeVisible(p0: View, p1: Int): Int
Link copied to clipboard
open fun findViewByPosition(p0: Int): View
Link copied to clipboard
open fun getChildCount(): Int
Link copied to clipboard
open fun getChildPosition(p0: View): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isRunning(): Boolean
Link copied to clipboard
open fun setTargetPosition(p0: Int)