SnapOnScrollListener

class SnapOnScrollListener(snapHelper: SnapHelper, var behavior: SnapOnScrollListener.Behavior = Behavior.NOTIFY_ON_SCROLL, var onSnapPositionChanged: (Int) -> Unit = {}) : RecyclerView.OnScrollListener

Constructors

Link copied to clipboard
constructor(snapHelper: SnapHelper, behavior: SnapOnScrollListener.Behavior = Behavior.NOTIFY_ON_SCROLL, onSnapPositionChanged: (Int) -> Unit = {})

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun onScrolled(recyclerView: RecyclerView, dx: Int, dy: Int)
Link copied to clipboard
open override fun onScrollStateChanged(recyclerView: RecyclerView, newState: Int)