LinearStartSnapHelper

Linear horizontal start snap helper.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun attachToRecyclerView(recyclerView: RecyclerView?)
Link copied to clipboard
open override fun calculateDistanceToFinalSnap(layoutManager: RecyclerView.LayoutManager, targetView: View): IntArray
Link copied to clipboard
Link copied to clipboard
open override fun findSnapView(layoutManager: RecyclerView.LayoutManager): View?
Link copied to clipboard
open override fun findTargetSnapPosition(p0: RecyclerView.LayoutManager, p1: Int, p2: Int): Int
Link copied to clipboard

Get current snap item position of a recyclerView.

Link copied to clipboard
open override fun onFling(p0: Int, p1: Int): Boolean