Synchronization of starred tracks with local downloads
This commit is contained in:
1 parent
1aba732ab9
commit
cbb6239b90
5 files changed
+151
No files matched your search
@@ -212,6 +212,10 @@ public class HomeViewModel extends AndroidViewModel {
|
||||
return artistBestOf;
|
||||
}
|
||||
|
||||
public LiveData<List<Child>> getAllStarredTracks() {
|
||||
return songRepository.getStarredSongs(false, -1);
|
||||
}
|
||||
|
||||
public void refreshDiscoverySongSample(LifecycleOwner owner) {
|
||||
songRepository.getRandomSample(10, null, null).observe(owner, dicoverSongSample::postValue);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user