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.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
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