mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Fix some lint issues in viewModel
This commit is contained in:
parent
589c3289d4
commit
984003ccd4
25 changed files with 76 additions and 149 deletions
|
|
@ -32,9 +32,7 @@ public class DownloadViewModel extends AndroidViewModel {
|
|||
}
|
||||
|
||||
public LiveData<List<Artist>> getDownloadedArtists(LifecycleOwner owner, int size) {
|
||||
downloadRepository.getLiveDownloadSample(size, true, false, false).observe(owner, downloads -> {
|
||||
downloadedArtistSample.postValue(MappingUtil.mapDownloadToArtist(downloads));
|
||||
});
|
||||
downloadRepository.getLiveDownloadSample(size, true, false, false).observe(owner, downloads -> downloadedArtistSample.postValue(MappingUtil.mapDownloadToArtist(downloads)));
|
||||
return downloadedArtistSample;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue