Prevent flicker when starting a drag.
Also, animate item the view to its new position when dragging.
This commit is contained in:
1 parent
2f5590d98e
commit
a669d79d0d
11 files changed
+116
-42
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user