Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- roomDb.mediaItemDownloadDao()
- .findById(mediaItemId)
- .subscribeOn(Schedulers.io())
- .subscribe(oldDownload -> {
- oldDownload.setSomeField(true);
- roomDb.mediaItemDownloadDao().insert(oldDownload);
- });
- }
- rx.schedulers.Schedulers.io().createWorker()
Add Comment
Please, Sign In to add comment