exit - Android: Lifecycle problem - leaving the application -


The first activity of my app is a splash screen with a progress dialog in which I load the data from the web service.
When this is done, I start calling () at the beginning of the first activity, then it is not visible again. Next activity is my main menu and from there I browse the application.
The problem occurs when I want to quit the application. Whatever the activity I've done and back or back home, I return to the main menu.
Shortly after launching the app again, my main menu is immediately visible and I do not go through the splash screen where the data is brought up. In addition, it seems that data created before the release was released. As a result, the activities started from the main menu (which depend on the data received during the splash screen) are empty

Do anyone have any ideas about this?
thanks, Rob

Do you store your data in a bundle that Is it loaded by purchasing at the time of leaving?

I would recommend reading section about saving activity on


Comments