mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Add song/genre sync
This commit is contained in:
parent
b2c269a051
commit
76037e487b
47 changed files with 703 additions and 89 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue