Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于RxJava链式的请教 #31

Open
VeiZhang opened this issue Apr 16, 2019 · 0 comments
Open

关于RxJava链式的请教 #31

VeiZhang opened this issue Apr 16, 2019 · 0 comments

Comments

@VeiZhang
Copy link

VeiZhang commented Apr 16, 2019

你好,想请教下Retrofit + RxJava遇到的问题。

现有一情景,网络请求顺序:请求token->请求分类->请求列表,类似这样的链式请求。在其中某个环节断网了,想停留在该环节等待有网继续往下走,如何处理?

我尝试使用retryWhen,可以等有网请求,但是整个链式请求会重新走一遍,如何在某个环节等待、有网继续往下请求,不知道如何解决?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant