OnPageChangeCallback

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

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open 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
open fun onPageScrollStateChanged(state: Int)
Called when the scroll state changes.
Link copied to clipboard
open fun onPageSelected(position: Int)
This method will be invoked when a new page becomes selected.