{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

androidx.compose.foundation.pager

Interfaces

PageSize

This is used to determine how Pages are laid out in Pager.

PagerScope

Receiver scope for Pager.

PagerSnapDistance

PagerSnapDistance defines the way the Pager will treat the distance between the current page and the page where it will settle.

Classes

PageSize.Fixed

Multiple pages in a viewport

PagerKt
PagerState

The state that can be used to control VerticalPager and HorizontalPager

PagerStateKt
PageSize.Fill

Pages take up the whole Pager size.

PagerDefaults

Contains the default values used by Pager.

PagerSnapDistance.Companion