Warning This sample has been migraated to the new platform-samples repository and will no longer be maintained.
Please use the following sample instead.
Thank you for your understanding.
An android application demonstrating basic Drag and Drop functionality using the
Jetpack Drag and Drop Library
.
Allows for plain-text items and images to be dragged into the app. Has a plain-text item and a PNG item that can be dragged within, out of, or to a second instance of the demo.
Utilizes androidx.core
's DragStartHelper
and androidx.draganddrop
's DropHelper
to simplify
the process of implementing both dragging and dropping functionality.
For reference and education only.