Prevent flicker when starting a drag.

Also, animate item the view to its new position when dragging.
This commit is contained in:
Patrick Dubroy committed 2010-11-24 10:00:55 -08:00
1 parent 2f5590d98e
commit a669d79d0d
11 files changed
+116 -42

No files matched your search

+6
View File
@@ -108,13 +108,19 @@ public class Folder extends LinearLayout implements DragSource, OnItemLongClickL
return true;
}
@Override
public void setDragController(DragController dragController) {
mDragController = dragController;
}
@Override
public void onDropCompleted(View target, boolean success) {
}
@Override
public void onDragViewVisible() {
}
/**
* Sets the adapter used to populate the content area. The adapter must only
* contains ShortcutInfo items.