mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Removed unused methods
This commit is contained in:
parent
78333d56d4
commit
fc240c273f
12 changed files with 5 additions and 50 deletions
|
|
@ -27,8 +27,6 @@ public class LibraryViewModel extends AndroidViewModel {
|
|||
private LiveData<List<Album>> sampleAlbum;
|
||||
private LiveData<List<Artist>> sampleArtist;
|
||||
private LiveData<List<Genre>> sampleGenres;
|
||||
|
||||
private LiveData<List<Genre>> allGenres;
|
||||
private LiveData<List<Playlist>> allPlaylist;
|
||||
|
||||
public LibraryViewModel(@NonNull Application application) {
|
||||
|
|
@ -44,17 +42,13 @@ public class LibraryViewModel extends AndroidViewModel {
|
|||
sampleAlbum = albumRepository.getListLiveSampleAlbum();
|
||||
sampleArtist = artistRepository.getListLiveSampleArtist();
|
||||
sampleGenres = genreRepository.getListLiveSampleGenre();
|
||||
allPlaylist = playlistRepository.getListLivePlaylists();
|
||||
}
|
||||
|
||||
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