Add song/genre sync

This commit is contained in:
Antonio Cappiello 2020-11-24 10:52:00 +01:00
parent b2c269a051
commit 76037e487b
47 changed files with 703 additions and 89 deletions

View file

@ -46,16 +46,15 @@ public class LibraryViewModel extends AndroidViewModel {
sampleGenres = genreRepository.getListLiveSampleGenre();
}
public LiveData<List<Genre>> getGenreList() {
allGenres = genreRepository.getListLiveGenres();
return allGenres;
}
public LiveData<List<Playlist>> getPlaylistList() {
allPlaylist = playlistRepository.getListLivePlaylists();
return allPlaylist;
}
public List<Genre> getGenreList() {
return genreRepository.getListGenre();
}
public LiveData<List<Album>> getAlbumSample() {
return sampleAlbum;
}