Added html parser in every adapter

This commit is contained in:
CappielloAntonio 2021-08-01 11:26:06 +02:00
parent fd4250b6f7
commit cf63097e34
17 changed files with 43 additions and 26 deletions

View file

@ -172,7 +172,7 @@ public class SongRepository {
}
public MutableLiveData<List<Song>> getSongsByGenre(String id) {
MutableLiveData<List<Song>> songsByGenre = new MutableLiveData<>();
MutableLiveData<List<Song>> songsByGenre = new MutableLiveData<>(new ArrayList<>());
App.getSubsonicClientInstance(application, false)
.getAlbumSongListClient()
@ -204,7 +204,7 @@ public class SongRepository {
}
public MutableLiveData<List<Song>> getSongsByGenres(ArrayList<String> genresId) {
MutableLiveData<List<Song>> songsByGenre = new MutableLiveData<>();
MutableLiveData<List<Song>> songsByGenre = new MutableLiveData<>(new ArrayList<>());
for(String id: genresId)