Updated libraries.
This commit is contained in:
parent
034b8d307e
commit
2b38324d03
3 changed files with 23 additions and 13 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue