Package-level declarations

Types

Link copied to clipboard
class HeaderInfo(val index: Int, val value: String, val inlineContent: Map<String, InlineTextContent> = mapOf(), val extraScrollToOffset: Int? = null)

Class for storing the index and value of a header used for the FastScrollingTransformingLazyColumn. This is used to properly display and snap to the specified header during fast scrolling.

Functions

Link copied to clipboard
fun FastScrollingTransformingLazyColumn(state: TransformingLazyColumnState, headers: SnapshotStateList<HeaderInfo>, modifier: Modifier = Modifier, sectionIndictatorTopPadding: Dp = 0.dp, contentPadding: PaddingValues = PaddingValues(), content: TransformingLazyColumnScope.() -> Unit)

Modification of the TransformingLazyColumn that allows for fast scrolling to objects with headers. This is done by on navigation via RSB and scrolling to past a specific speed threshold, the list will begin scrolling directly to each section header instead of scrolling through each