Created
January 24, 2018 02:48
-
-
Save HIFILEO/c965856853702c418ff2f8f57c5b8ffe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compositeDisposable.add(nowPlayingViewModel.getUiModels() | |
.subscribe(this::processUiModel, | |
throwable -> { throw new UnsupportedOperationException("Errors from Model Unsupported: ");} | |
) | |
); | |
private void processUiModel(UiModel uiModel) { | |
this.latestUiModel = uiModel; | |
//Update progressBar... | |
//Update adapter | |
//Error Messages | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment