LazyDragSelectGridScope
Receiver scope for LazyDragSelectHorizontalGrid and LazyDragSelectVerticalGrid.
This is essentially a copy of LazyGridScope.
Functions
Link copied to clipboard
abstract fun item(key: Any? = null, span: LazyGridItemSpanScope.() -> GridItemSpan? = null, contentType: Any? = null, content: @Composable LazyDragSelectGridItemScope<Item>.() -> Unit)
Adds a single item to the scope.
Link copied to clipboard
abstract fun items(key: (item: Item) -> Any? = null, span: LazyGridItemSpanScope.(item: Item) -> GridItemSpan? = null, contentType: (item: Item) -> Any? = { null }, itemContent: @Composable LazyDragSelectGridItemScope<Item>.(item: Item) -> Unit)
Adds a list of items from the Items in the scope.
Link copied to clipboard
abstract fun itemsIndexed(key: (index: Int, item: Item) -> Any? = null, span: LazyGridItemSpanScope.(index: Int, item: Item) -> GridItemSpan? = null, contentType: (index: Int, item: Item) -> Any? = { _, _ -> null }, itemContent: @Composable LazyDragSelectGridItemScope<Item>.(index: Int, item: Item) -> Unit)