Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
zipApi1AndApi2()
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe { pair ->
if (pair.second.isSuccessful)
Logger.d(pair)
else
throw ApiRequestException(pair.second)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.