Open bisrinursa opened 7 years ago
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?
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.
I try to use RestClient in square flow. This is my step :
Why when go back to screen 1, rest api is called? How prevent rest client running when goBack?