Package-level declarations
Types
Link copied to clipboard
class ReorderableLazyGridState(val gridState: LazyGridState, scope: CoroutineScope, maxScrollPerFrame: Float, onMove: (fromIndex: ItemPosition, toIndex: ItemPosition) -> Unit, canDragOver: (draggedOver: ItemPosition, dragging: ItemPosition) -> Boolean? = null, onDragEnd: (startIndex: Int, endIndex: Int) -> Unit? = null, dragCancelledAnimation: DragCancelledAnimation = SpringDragCancelledAnimation()) : ReorderableState<LazyGridItemInfo>
Link copied to clipboard
class ReorderableLazyListState(val listState: LazyListState, scope: CoroutineScope, maxScrollPerFrame: Float, onMove: (fromIndex: ItemPosition, toIndex: ItemPosition) -> Unit, canDragOver: (draggedOver: ItemPosition, dragging: ItemPosition) -> Boolean? = null, onDragEnd: (startIndex: Int, endIndex: Int) -> Unit? = null, dragCancelledAnimation: DragCancelledAnimation = SpringDragCancelledAnimation()) : ReorderableState<LazyListItemInfo>
Link copied to clipboard
class ReorderableLazyStaggeredGridState(val gridState: LazyStaggeredGridState, scope: CoroutineScope, maxScrollPerFrame: Float, onMove: (fromIndex: ItemPosition, toIndex: ItemPosition) -> Unit, canDragOver: (draggedOver: ItemPosition, dragging: ItemPosition) -> Boolean? = null, onDragEnd: (startIndex: Int, endIndex: Int) -> Unit? = null, dragCancelledAnimation: DragCancelledAnimation = SpringDragCancelledAnimation(), val orientation: Orientation) : ReorderableState<LazyStaggeredGridItemInfo>
Link copied to clipboard
abstract class ReorderableState<T>(scope: CoroutineScope, maxScrollPerFrame: Float, onMove: (fromIndex: ItemPosition, toIndex: ItemPosition) -> Unit, canDragOver: (draggedOver: ItemPosition, dragging: ItemPosition) -> Boolean?, onDragEnd: (startIndex: Int, endIndex: Int) -> Unit?, val dragCancelledAnimation: DragCancelledAnimation)
Functions
Link copied to clipboard
fun rememberReorderableLazyGridState(onMove: (ItemPosition, ItemPosition) -> Unit, gridState: LazyGridState = rememberLazyGridState(), canDragOver: (draggedOver: ItemPosition, dragging: ItemPosition) -> Boolean? = null, onDragEnd: (startIndex: Int, endIndex: Int) -> Unit? = null, maxScrollPerFrame: Dp = 20.dp, dragCancelledAnimation: DragCancelledAnimation = SpringDragCancelledAnimation()): ReorderableLazyGridState
Link copied to clipboard
fun rememberReorderableLazyHorizontalStaggeredGridState(onMove: (ItemPosition, ItemPosition) -> Unit, gridState: LazyStaggeredGridState = rememberLazyStaggeredGridState(), canDragOver: (draggedOver: ItemPosition, dragging: ItemPosition) -> Boolean? = null, onDragEnd: (startIndex: Int, endIndex: Int) -> Unit? = null, maxScrollPerFrame: Dp = 20.dp, dragCancelledAnimation: DragCancelledAnimation = SpringDragCancelledAnimation()): ReorderableLazyStaggeredGridState
Link copied to clipboard
fun rememberReorderableLazyListState(onMove: (ItemPosition, ItemPosition) -> Unit, listState: LazyListState = rememberLazyListState(), canDragOver: (draggedOver: ItemPosition, dragging: ItemPosition) -> Boolean? = null, onDragEnd: (startIndex: Int, endIndex: Int) -> Unit? = null, maxScrollPerFrame: Dp = 20.dp, dragCancelledAnimation: DragCancelledAnimation = SpringDragCancelledAnimation()): ReorderableLazyListState
Link copied to clipboard
fun rememberReorderableLazyStaggeredGridState(onMove: (ItemPosition, ItemPosition) -> Unit, gridState: LazyStaggeredGridState = rememberLazyStaggeredGridState(), canDragOver: (draggedOver: ItemPosition, dragging: ItemPosition) -> Boolean? = null, onDragEnd: (startIndex: Int, endIndex: Int) -> Unit? = null, maxScrollPerFrame: Dp = 20.dp, dragCancelledAnimation: DragCancelledAnimation = SpringDragCancelledAnimation(), orientation: Orientation): ReorderableLazyStaggeredGridState
Link copied to clipboard
fun rememberReorderableLazyVerticalStaggeredGridState(onMove: (ItemPosition, ItemPosition) -> Unit, gridState: LazyStaggeredGridState = rememberLazyStaggeredGridState(), canDragOver: (draggedOver: ItemPosition, dragging: ItemPosition) -> Boolean? = null, onDragEnd: (startIndex: Int, endIndex: Int) -> Unit? = null, maxScrollPerFrame: Dp = 20.dp, dragCancelledAnimation: DragCancelledAnimation = SpringDragCancelledAnimation()): ReorderableLazyStaggeredGridState