DragAndDropSourceScope
Interface
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
fun startTransfer(transferData: DragAndDropTransferData)
Starts a drag and drop session with transferData
as the data to be transferred on gesture
completion