mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 07:03:35 +00:00
Removed unused database references
This commit is contained in:
@@ -30,12 +30,13 @@ public class AlbumPageViewModel extends AndroidViewModel {
|
||||
}
|
||||
|
||||
public LiveData<List<Song>> getAlbumSongLiveList() {
|
||||
songLiveList = songRepository.getAlbumListLiveSong(album.getId());
|
||||
// songLiveList = songRepository.getAlbumListLiveSong(album.getId());
|
||||
return songLiveList;
|
||||
}
|
||||
|
||||
public List<Song> getAlbumSongList() {
|
||||
return songRepository.getAlbumListSong(album.getId(), false);
|
||||
// return songRepository.getAlbumListSong(album.getId(), false);
|
||||
return null;
|
||||
}
|
||||
|
||||
public Album getAlbum() {
|
||||
@@ -47,6 +48,7 @@ public class AlbumPageViewModel extends AndroidViewModel {
|
||||
}
|
||||
|
||||
public Artist getArtist() {
|
||||
return artistRepository.getArtistByID(album.getArtistId());
|
||||
// return artistRepository.getArtistByID(album.getArtistId());
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user