Adding fling-to-delete.

- Also fixing issue where the drop target icon changes color slower than the text.

Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
This commit is contained in:
Winson Chung
2012-03-01 16:09:54 -08:00
parent d1eef3388a
commit 043f2af567
12 changed files with 416 additions and 44 deletions

View File

@@ -25,5 +25,6 @@ import com.android.launcher2.DropTarget.DragObject;
*
*/
public interface DragSource {
boolean supportsFlingToDelete();
void onDropCompleted(View target, DragObject d, boolean success);
}