Hide song/album/artist sector when there are no elements to show
This commit is contained in:
1 parent
b5eaa1e523
commit
02d6ad9629
3 files changed
+13
-3
No files matched your search
@@ -47,7 +47,7 @@ public class LibraryViewModel extends AndroidViewModel {
|
||||
|
||||
sampleAlbum = albumRepository.getAlbums("random", 20);
|
||||
sampleArtist = artistRepository.getArtists(true, 20);
|
||||
sampleGenres = new MutableLiveData<>();
|
||||
sampleGenres = new MutableLiveData<>(new ArrayList<>());
|
||||
playlistSample = playlistRepository.getPlaylists(true, 10);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user