Album and artist detail activities load their data async now.
This commit is contained in:
parent
f6e5f989b8
commit
aa67b6cd35
4 changed files with 171 additions and 64 deletions
|
|
@ -55,6 +55,8 @@ public class ArtistSongAdapter extends ArrayAdapter<Song> implements MaterialCab
|
|||
|
||||
public void swapDataSet(ArrayList<Song> dataSet) {
|
||||
this.dataSet = dataSet;
|
||||
clear();
|
||||
addAll(dataSet);
|
||||
notifyDataSetChanged();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue