cacheAndRemote使用问题
ZQ7 opened this issue · comments
CacheStrategy.cacheAndRemote()这个缓存策略在 存在缓存网络错误 时没有走onNext,只回调了一次onError,但是在Debug调试CacheAndRemoteStrategy中的代码时,正常返回,回调一次onError一次onNext,求问一下这是什么问题
配置应该是没有问题的,firstRemote(优先网络,缓存用异步的方式保存)这种策略可以
你解决了吗
不知道你是否是在mergeDelayError中使用的
mergeDelayError有一个坑的。
具体看 https://blog.csdn.net/shuxiangxingkong/article/details/52516018 里面说的