mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-03-19 03:43:09 +00:00
Synchronization of starred tracks with local downloads
This commit is contained in:
@@ -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