Drag & drop for seamless multitasking
summary
Large-screen users run Chrome 42% more often in multi-instance mode than on phones, so adding cross-app drag-and-drop reduces friction. The talk shows concrete APIs: DragStartHelper from AndroidX Core to detect gestures and build ClipData, calling view.startDragAndDrop with DRAG_FLAG_GLOBAL and DRAG_FLAG_GLOBAL_URI_READ, and DropHelper from AndroidX Drag and Drop to declare MIME types, highlight targets, use addInnerEditTexts, and receive content via onReceiveContent — working end-to-end across apps.
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!
22mLearn how to update your app for the larger screen
47mOptimizing Android apps for desktop experience
25mAndroid on Chrome OS: What you need to know
