startDrag

fun startDrag(position: Int): Boolean

Starts the dragging action for the ViewHolder at position.

DragCallback.onDragStarted will be called after this method if this returns true

Return

true if the dragging action was started, false otherwise

Parameters

position

the position of the item to be dragged