sealed interface PagerLayoutInfo


Contains useful information about the currently displayed layout state of a HorizontalPager or VerticalPager. This information is available after the first measure pass.

Use PagerState.layoutInfo to retrieve this

Summary

Public properties

Orientation

The orientation of this pager (which could be HorizontalPager or VerticalPager.

Int

The main axis size of the pages in this pager, in pixels.

Public properties

orientation

Added in 1.5.0-alpha11
val orientationOrientation

The orientation of this pager (which could be HorizontalPager or VerticalPager.

pageSize

Added in 1.5.0-alpha11
val pageSizeInt

The main axis size of the pages in this pager, in pixels.