onPageScrollStateChanged

abstract fun onPageScrollStateChanged(state: Int)(source)

Called when the scroll state changes. Useful for discovering when the user begins dragging, when the pager is automatically settling to the current page, or when it is fully stopped/idle.

Parameters

state

The new scroll state.

See also