阅读背景:

由于分支逻辑,RxJava2失去了结果

来源:互联网 

I have some kind of Result which I get from a server. I'm trying to build an observable sequence which will: 1. check that the result is successful (result.success()) 2. if it is, then get a string resource from the result (result.getResource()) and return an observable with that string 3. if it's not, then execute some failure handling code and return an empty observableI have some kind of Result which I get from a s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: