Interface

DragAndDropSourceScope

A scope that allows for the detection of the start of a drag and drop gesture, and subsequently starting a drag and drop session.

Source set: Android

Deprecated

Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

@ExperimentalFoundationApi
interface DragAndDropSourceScope : PointerInputScope

A scope that allows for the detection of the start of a drag and drop gesture, and subsequently starting a drag and drop session.

Functions

startTransfer

fun startTransfer(transferData: DragAndDropTransferData)

Starts a drag and drop session with transferData as the data to be transferred on gesture completion

Last updated: