Package-level declarations

Types

Link copied to clipboard
data class ViewPagerPageScrollEvent(val view: ViewPager, val position: Int, val positionOffset: Float, val positionOffsetPixel: Int)

Functions

Link copied to clipboard

Create a Flow of page scroll events on the ViewPager instance.

Link copied to clipboard

Create a Flow of page scroll state change events on the ViewPager instance where the value emitted can be one of SCROLL_STATE_IDLE, SCROLL_STATE_DRAGGING} or SCROLL_STATE_SETTLING.

Link copied to clipboard

Create a InitialValueFlow of page selected events on the ViewPager instance where the value emitted is the position index of the new selected page.