Show images in playing queue
This commit is contained in:
parent
f5286c466b
commit
22e757170f
3 changed files with 2 additions and 13 deletions
|
|
@ -29,13 +29,6 @@ public class PlayingQueueAdapter extends SongAdapter {
|
|||
@Override
|
||||
public void onBindViewHolder(@NonNull SongAdapter.ViewHolder holder, int position) {
|
||||
super.onBindViewHolder(holder, position);
|
||||
if (holder.imageText != null) {
|
||||
holder.imageText.setVisibility(View.VISIBLE);
|
||||
holder.imageText.setText("" + (position - current));
|
||||
}
|
||||
if (holder.image != null) {
|
||||
holder.image.setVisibility(View.GONE);
|
||||
}
|
||||
if (holder.getItemViewType() == HISTORY) {
|
||||
setAlpha(holder, 0.5f);
|
||||
} else if (holder.getItemViewType() == CURRENT) {
|
||||
|
|
@ -53,11 +46,6 @@ public class PlayingQueueAdapter extends SongAdapter {
|
|||
return CURRENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void loadAlbumCover(Song song, ViewHolder holder) {
|
||||
//super.loadAlbumCover(song, holder);
|
||||
}
|
||||
|
||||
public void swapDataSet(ArrayList<Song> dataSet, int position) {
|
||||
this.dataSet = dataSet;
|
||||
current = position;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue