OnPageChangeListener

Callback interface for responding to changing state of the selected page.

Inheritors

Functions

Link copied to clipboard
abstract fun onPageScrolled(position: Int, positionOffset: Float, @Px positionOffsetPixels: Int)
This method will be invoked when the current page is scrolled, either as part of a programmatically initiated smooth scroll or a user initiated touch scroll.
Link copied to clipboard
abstract fun onPageScrollStateChanged(state: Int)
Called when the scroll state changes.
Link copied to clipboard
abstract fun onPageSelected(position: Int)
This method will be invoked when a new page becomes selected.