This topic created in 2914 days ago, the information mentioned may be changed or developed.
Rxjava 中正常情况下 onNext 处理最后对象,假设为 student 类,现在中间出现异常调用 onError 接口,不过需要在 onError 中需要 student 类的部分信息,
这个怎么处理,数据来源不是单个 student,而是一个数组集合 student,
要怎么确定出现异常的是哪个 student,
2 replies • 2018-05-10 14:51:23 +08:00
 |
|
1
picy May 10, 2018 1
包装一层自定义的异常,把当前的 student 对象带过去。
|