'How to handle panic situations when user minimizes an app during a long running task such as an api call?
If a user minimizes an android app during a long running task such as login or sign in operation or any such api call, how to manage or handle the state of the app in such situations ?
Solution 1:[1]
You can read all about how to handle state changes here.
For handling long-running tasks, like authentication or API calls, this is a good starting point.
Anything more specific, just update your question and maybe someone can help.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | zen_of_kermit |
