flow icon indicating copy to clipboard operation
flow copied to clipboard

Do not reload rest api when go back

Open bisrinursa opened this issue 7 years ago • 1 comments

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?

bisrinursa avatar Nov 02 '17 23:11 bisrinursa

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.

Zhuinden avatar Nov 15 '17 15:11 Zhuinden