ReorderableLazyGridState

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>

Constructors

Link copied to clipboard
constructor(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())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val isVerticalScroll: Boolean