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

Problem with retry api calling. #27

Closed
PexegoUva opened this issue Jun 7, 2015 · 2 comments
Closed

Problem with retry api calling. #27

PexegoUva opened this issue Jun 7, 2015 · 2 comments

Comments

@PexegoUva
Copy link

Hello guys,
When I open the application and have no connection , the window " Retry " appears, if i press the button, the application blocked and I don't get any response from the server.

I have been researching and I think that when you make the call (this.loadUsers()), if you have no connection, RxJava send you an onError() message, and you get the window "Retry". Then if you try to make the call again, RxJava don't create any new thread and it blocks you on "loop" method.

Maybe we should use Retrofit here?

I wonder if it happened to someone else , thank you.

Pd: Sorry for my bad english.

@rockerhieu
Copy link

Because the presenters are extending DefaultSubscriber. When they are either error or complete they can not be reused.

@PexegoUva
Copy link
Author

Thx, I solved it some days ago.

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

2 participants