applyLongPressDraggableHandle
abstract fun applyLongPressDraggableHandle(modifier: Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource? = null, onDragStarted: (startedPosition: Offset) -> Unit = {}, onDragStopped: () -> Unit = {}): Modifier
Returns a Modifier that makes the given UI element a long-press drag handle for the current table item.
This API is intended to be used from content rendered inside the current reorderable item. The resulting modifier only works correctly when applied to a node that is a descendant of ReorderableItem. Dragging starts only after a long press.
Return
the resulting modifier with long-press drag-handle behavior applied.
Parameters
modifier
base modifier to extend with drag-handle behavior.
enabled
whether drag gestures are enabled for this handle.
interactionSource
optional MutableInteractionSource used to emit DragInteraction.Start when dragging begins.
onDragStarted
callback invoked when dragging starts.
onDragStopped
callback invoked when dragging stops.