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

Do not reload rest api when go back #273

Open
bisrinursa opened this issue Nov 2, 2017 · 1 comment
Open

Do not reload rest api when go back #273

bisrinursa opened this issue Nov 2, 2017 · 1 comment

Comments

@bisrinursa
Copy link

I try to use RestClient in square flow. This is my step :

Example:
1. Main screen call rest api in presenter. And then go to screen 2
2. On screen 2, call goBack. 

Why when go back to screen 1, rest api is called?
How prevent rest client running when goBack?

@Zhuinden
Copy link

Zhuinden commented Nov 15, 2017

Depends on your Dispatcher implementation, and your Screen implementation (which sounds like it is your own thing), so it is not Flow's concern, tbh.

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