Created
November 4, 2016 22:36
-
-
Save aballano/aa68301094d148b02a42df5221a10d06 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
public void onDeleteChatAt(int id) { | |
interactor.deleteChat(id) | |
.retryWhen(errors -> errors.flatMap(error -> view.showDeleteFailedWithRetry())) | |
.subscribe(() -> view.removeChat(id), logError()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment