PageInfo

Interface

Common
sealed interface PageInfo

This represents a single measured page in a Pager layout.

Properties

Common
val index: Int

The index of this page.

Common
val key: Any

The key of the page which was passed to the HorizontalPager or VerticalPager composables.

Common
val offset: Int

The main axis offset of the item in pixels. It is relative to the start of the Pager container.