Added the ability to refresh samples on the home page

This commit is contained in:
CappielloAntonio 2021-08-10 15:42:39 +02:00
parent 0b57cd3176
commit bd9dc276f1
8 changed files with 127 additions and 16 deletions

View file

@ -38,7 +38,7 @@ public class AlbumRepository {
this.application = application;
}
public LiveData<List<Album>> getAlbums(String type, int size) {
public MutableLiveData<List<Album>> getAlbums(String type, int size) {
App.getSubsonicClientInstance(application, false)
.getAlbumSongListClient()
.getAlbumList2(type, size, 0, null, null)