mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 07:03:35 +00:00
Return back to a limited number of top song in Artist page
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user