mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 07:03:35 +00:00
Add song/genre sync
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user