Package-level declarations

Types

Link copied to clipboard

PagerSnapNestedScrollConnection reacts to the scroll left to right and vice-versa.

Link copied to clipboard

This class maintains the state of the pager snap.

Functions

Link copied to clipboard
fun ComposePagerSnapHelper(width: Dp = 0.dp, content: @Composable (LazyListState) -> Unit)

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.