Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants