mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
Return back to a limited number of top song in Artist page
This commit is contained in:
parent
59e0de7836
commit
cd7e3bf84f
3 changed files with 8 additions and 12 deletions
|
|
@ -53,8 +53,8 @@ public class ArtistPageViewModel extends AndroidViewModel {
|
|||
return randomList;
|
||||
}
|
||||
|
||||
public LiveData<List<Song>> getArtistTopSongList() {
|
||||
songList = artistRepository.getTopSongs(artist.getName(), 50);
|
||||
public LiveData<List<Song>> getArtistTopSongList(int count) {
|
||||
songList = artistRepository.getTopSongs(artist.getName(), count);
|
||||
return songList;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue