ReorderableState
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)
Inheritors
Constructors
Link copied to clipboard
constructor(scope: CoroutineScope, maxScrollPerFrame: Float, onMove: (fromIndex: ItemPosition, toIndex: ItemPosition) -> Unit, canDragOver: (draggedOver: ItemPosition, dragging: ItemPosition) -> Boolean?, onDragEnd: (startIndex: Int, endIndex: Int) -> Unit?, dragCancelledAnimation: DragCancelledAnimation)