StartSnapHelper

Constructors

Link copied to clipboard
constructor(flingOffset: Int)
constructor(flingOffset: Int, offset: Int)

Functions

Link copied to clipboard
open fun attachToRecyclerView(@Nullable recyclerView: RecyclerView)
Link copied to clipboard
Link copied to clipboard
open fun calculateScrollDistance(velocityX: Int, velocityY: Int): Array<Int>
Link copied to clipboard
Link copied to clipboard
open fun findTargetSnapPosition(layoutManager: RecyclerView.LayoutManager, velocityX: Int, velocityY: Int): Int
Link copied to clipboard
open fun onFling(velocityX: Int, velocityY: Int): Boolean