🌈 Create new beautiful Compose Gradients with our new wesite ->
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(
    message =
        "Replaced by a callback for obtain a transfer data," +
            "start detection is performed by Compose itself"
)
public 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

Source set: Android
public fun startTransfer(transferData: DragAndDropTransferData)

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