Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Struct PageScrollState

sealed struct PageScrollState
Represents the current scroll state for the PagerView.

Fields

Constants

IDLE

PageScrollState = {0}
The PagerView is stationary and not being scrolled. This state indicates that:
  • No user interaction is in progress
  • The current page is fully in view

DRAGGING

PageScrollState = {1}
The PagerView is actively being scrolled due to user interaction. This state indicates that:
  • The user is currently interacting and moving the PagerView
  • The view may be between pages

SETTLING

PageScrollState = {2}
The PagerView is automatically animating to its final position. This state indicates that:
  • The user is not actively interacting with the view
  • The view is moving towards a stable position
Last modified on October 29, 2026