Thanks Erel. But i can't use StateManager in order to fix my probleme.
I Hope this small scheme can explain what is my probleme:
When users are on "Activity 1 Bis" and the application was put in pause (screen shutdown, home button...)
- sometimes, the application resume on "Activity 1 bis" --> Nothing have change , it's that i want.
- But sometimes, the application restart on "Main" --> all are lost : to bad for users
I read StateManager function ( really good function ) but don't thinks that fix my probleme, the context can't be the same as before the activity pause. (Data base connection, sql request result...)
Do you know what i mean ?