LazyFloatingItemList
fun LazyFloatingItemList(modifier: Modifier = Modifier, title: String? = null, state: LazyListState = rememberLazyListState(), contentPadding: PaddingValues = PaddingValues(0.dp), reverseLayout: Boolean = false, horizontalAlignment: Alignment.Horizontal = Alignment.Start, flingBehavior: FlingBehavior = ScrollableDefaults.flingBehavior(), userScrollEnabled: Boolean = true, content: LazyListScope.() -> Unit)
Deprecated
Use LazySegmentedItemList instead.
Replace with
import org.multipaz.compose.items.LazySegmentedItemList
Content copied to clipboard
LazySegmentedItemList(modifier = modifier, title = title, state = state, contentPadding = contentPadding, reverseLayout = reverseLayout, horizontalAlignment = horizontalAlignment, flingBehavior = flingBehavior, userScrollEnabled = userScrollEnabled, content = content)Content copied to clipboard
Draws a lazy segmented list of items.
Parameters
modifier
a Modifier.
title
the title to show above the list or null.
state
the state object to be used to control or observe the list's state.
contentPadding
a padding around the whole content.
reverseLayout
reverse the direction of scroll and layout.
horizontalAlignment
the horizontal alignment applied to the items.
flingBehavior
logic describing fling behavior.
userScrollEnabled
whether the scrolling via user gestures is enabled.
content
a block which describes the content.