mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Synchronization of starred tracks with local downloads
This commit is contained in:
parent
1aba732ab9
commit
cbb6239b90
5 changed files with 151 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue