5. System Clipboard, and Drag and Drop
The drag and drop operation is common in almost all applications. Whether it is selecting an item to purchase while shopping online or arranging items in order of preference, drag and drop is used often. In this chapter, you will learn to drag and drop text as well as images. You will learn to listen to drag events, create a drag shadow, and add the dropped view to the target view. Also, you will learn to utilize the system clipboard to implement cut, copy, and paste operations in the Android applications.
Recipe: Understanding Drag and Drop Operation
Drag and drop operation refers to the procedure of clicking and moving one view to another in the current activity. The views can be in different layouts. ...
Get The Android™ Tablet Developer’s Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.