Package-level declarations

Types

Link copied to clipboard

Receiver scope being used by the item content parameter of LazyDragSelectVerticalGrid or LazyDragSelectHorizontalGrid.

Functions

Link copied to clipboard
fun <Item> LazyDragSelectHorizontalGrid(rows: GridCells, items: List<Item>, modifier: Modifier = Modifier, state: DragSelectState<Item> = rememberDragSelectState(), contentPadding: PaddingValues = PaddingValues(0.dp), reverseLayout: Boolean = false, horizontalArrangement: Arrangement.Horizontal = if (!reverseLayout) Arrangement.Start else Arrangement.End, verticalArrangement: Arrangement.Vertical = Arrangement.Top, flingBehavior: FlingBehavior = ScrollableDefaults.flingBehavior(), userScrollEnabled: Boolean = true, enableAutoScroll: Boolean = true, autoScrollThreshold: Float? = null, enableHaptics: Boolean = true, hapticFeedback: HapticFeedback? = null, content: LazyDragSelectGridScope<Item>.() -> Unit)

A wrapper for LazyHorizontalGrid that provides drag selection functionality.

Link copied to clipboard
fun <Item> LazyDragSelectVerticalGrid(columns: GridCells, items: List<Item>, modifier: Modifier = Modifier, state: DragSelectState<Item> = rememberDragSelectState(), contentPadding: PaddingValues = PaddingValues(0.dp), reverseLayout: Boolean = false, verticalArrangement: Arrangement.Vertical = if (!reverseLayout) Arrangement.Top else Arrangement.Bottom, horizontalArrangement: Arrangement.Horizontal = Arrangement.Start, flingBehavior: FlingBehavior = ScrollableDefaults.flingBehavior(), userScrollEnabled: Boolean = true, enableAutoScroll: Boolean = true, autoScrollThreshold: Float? = null, enableHaptics: Boolean = true, hapticFeedback: HapticFeedback? = null, content: LazyDragSelectGridScope<Item>.() -> Unit)

A wrapper for LazyVerticalGrid that provides drag selection functionality.