Interface

PageInfo

This represents a single measured page in a Pager layout.

Source set: Common
sealed interface PageInfo

This represents a single measured page in a Pager layout.

Properties

index

Source set: Common
val index: Int

The index of this page.

key

Source set: Common
val key: Any

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

offset

Source set: Common
val offset: Int

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

Last updated: