androidx.wear.compose.foundation.rotary
This package offers APIs for handling rotary input from hardware components like a rotating side button (RSB) or a physical bezel on Wear OS devices. The primary component is the rotaryScrollable modifier, which allows you to connect rotary input to scrollable composables.
Scrolling lists such as ScalingLazyColumn and TransformingLazyColumn support rotary input by default, as does the VerticalPager. The rotaryScrollable modifier is provided so that custom components can be extended for rotary support too.
Interfaces
RotaryScrollableBehavior |
An interface for handling scroll events. |
RotarySnapLayoutInfoProvider |
A provider which connects scrollableState to a rotary input for snapping scroll actions. |
Objects
RotaryScrollableDefaults |
Defaults for rotaryScrollable modifier |
Modifiers
rotaryScrollable |
A modifier which connects rotary events with scrollable containers such as Column, LazyList and others. |