ReorderableLazyListState

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>

Constructors

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

Properties

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