Code example for ClipData

Methods: getItemAt

0
						anim.end();
						anim = null;
					} 
 
					ClipData data = event.getClipData();
					Log.v(DROPTAG, "Item data is " + data.getItemAt(0).getText());
 
					dropCount++;
					String message = dropCount + " drop";
					if(dropCount > 1)
						message += "s";
					dropMessage.setText(message);
		            break; 
				case DragEvent.ACTION_DRAG_ENDED:
					Log.v(DROPTAG, "drag ended in dropTarget");
					if(anim != null) {
						anim.end();
						anim = null;
					} 
		            break; 
		        default: