Updated libraries.

This commit is contained in:
Karim Abou Zeid 2016-05-29 22:40:29 +02:00
commit 2b38324d03
3 changed files with 23 additions and 13 deletions

View file

@ -110,6 +110,11 @@ public class PlayingQueueAdapter extends SongAdapter implements DraggableItemAda
MusicPlayerRemote.moveSong(fromPosition, toPosition);
}
@Override
public boolean onCheckCanDrop(int draggingPosition, int dropPosition) {
return true;
}
public class ViewHolder extends SongAdapter.ViewHolder implements DraggableItemViewHolder {
@DraggableItemStateFlags
private int mDragStateFlags;

View file

@ -75,6 +75,11 @@ public class PlaylistSongAdapter extends SongAdapter implements DraggableItemAda
}
}
@Override
public boolean onCheckCanDrop(int draggingPosition, int dropPosition) {
return true;
}
public interface OnMoveItemListener {
void onMoveItem(int fromPosition, int toPosition);
}