SnapUtil

object SnapUtil

Utility class containing snapping related behavior of RecyclerView.

Types

Link copied to clipboard
annotation class SnapMode

Properties

Link copied to clipboard
const val SNAP_NONE: Int
Link copied to clipboard
const val SNAP_TO_CENTER: Int
Link copied to clipboard
Link copied to clipboard
const val SNAP_TO_END: Int
Link copied to clipboard
const val SNAP_TO_START: Int

Functions

Link copied to clipboard
fun getSnapHelper(snapMode: Int, deltaJumpThreshold: Int, snapToStartFlingOffset: Int, snapToStartOffset: Int, useExactScrollPosition: Boolean): SnapHelper?
Link copied to clipboard