mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 02:08:20 +00:00
Prevent flicker when starting a drag.
Also, animate item the view to its new position when dragging.
This commit is contained in:
@@ -24,5 +24,12 @@ import android.view.View;
|
||||
*/
|
||||
public interface DragSource {
|
||||
void setDragController(DragController dragger);
|
||||
|
||||
/**
|
||||
* Callback from the DragController when it begins drawing the drag view.
|
||||
* This allows the DragSource to dim or hide the original view.
|
||||
*/
|
||||
void onDragViewVisible();
|
||||
|
||||
void onDropCompleted(View target, boolean success);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user