Drag & drop for seamless multitasking
summary
Large screens show 42% more Chrome multi instance use than phones so adding drag and drop reduces friction and enables cross app gestures. AndroidX provides DragStartHelper to detect long press or mouse drags and build ClipData with multiple representations, and DropHelper to register targets and highlight supported types. Use view.startDragAndDrop with DRAG_FLAG_GLOBAL and DRAG_FLAG_GLOBAL_URI_READ to share URIs across apps and rely on onReceiveContent to handle the dropped payload.
AI-written summary · about
chapters (4)
related talks
04mDrag & drop for seamless multitasking
24mI Want Drag & Drop on Android Too!
21mThe Curious Case of Android Gesture Animation
16mDeveloping for Android & large screens
15mDrag and Drop in Compose!
47mOptimizing Android apps for desktop experience
22mLearn how to update your app for the larger screen
18mThe key to keyboard and mouse support across tablets and ChromeOS
