Package-level declarations
Types
Link copied to clipboard
class PagerSnapNestedScrollConnection(state: PagerSnapState, listState: LazyListState, scrollTo: () -> Unit) : NestedScrollConnection
PagerSnapNestedScrollConnection reacts to the scroll left to right and vice-versa.
Link copied to clipboard
class PagerSnapState
This class maintains the state of the pager snap.
Functions
Link copied to clipboard
ComposePagerSnapHelper is a pager style snapping in horizontal orientation. Provide the width used in the item in horizontally scrolling list, and ComposePagerSnapHelper will calculate when to snap to the target view.
Link copied to clipboard
Link copied to clipboard
Creates a PagerSnapState that is remembered across compositions.