ReorderableLazyStaggeredGridState
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>
Constructors
Link copied to clipboard
constructor(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(), orientation: Orientation)