Paged Lazy Column
fun PagedLazyColumn(modifier: Modifier = Modifier, onLoadBackward: () -> Unit = {}, onLoadForward: () -> Unit = {}, state: LazyListState = rememberLazyListState(), contentPadding: PaddingValues = PaddingValues(0.dp), reverseLayout: Boolean = false, verticalArrangement: Arrangement.Vertical = if (!reverseLayout) Arrangement.Top else Arrangement.Bottom, horizontalAlignment: Alignment.Horizontal = Alignment.Start, flingBehavior: FlingBehavior = ScrollableDefaults.flingBehavior(), userScrollEnabled: Boolean = true, content: LazyListScope.() -> Unit)
A LazyColumn that supports pagination. This will call onLoadBackward when the first item is reached and onLoadForward when the last item is reached.
Since
1.0.0-beta.2
Parameters
modifier
The modifier to be applied to the view.
on Load Backward
The handler for when the first item is reached.
on Load Forward
The handler for when the last item is reached.
state
The LazyListState to be used.
content Padding
The padding to be applied to the content.
reverse Layout
Whether the layout should be reversed.
vertical Arrangement
The vertical arrangement strategy.
horizontal Alignment
The horizontal alignment strategy.
fling Behavior
The fling behavior to be used.
user Scroll Enabled
Whether the user can scroll.
content
The content to be displayed.