Drag And Drop A View
I am trying to drag and drop a button on the screen.i can drag but when i drop the following error takes place. Logcat: 12-05 15:03:00.905: E/AndroidRuntime(1009): java.lang.Illega
Solution 1:
Simply use this method:
publicinterfaceDropListener{
/**
* Called when an item is to be dropped.
* @param from - index item started at.
* @param to - index to place item at.
*/void onDrop(intfrom, int to);
}
You can see here. And, let you can know more detail.
Post a Comment for "Drag And Drop A View"