The documentation on onSaveInstanceState() states:
If the method is called, it is always called before onStop() and possibly before onPause().
But, I notice, consistently, from log messages that onPause() is ALWAYS CALLED BEFORE onSaveInstanceState(). I had put log messages in these two methods. Please help me understand in what circumstances does onSaveInstanceState() is called before onPause().
Environment: Android v4.0 (API 14) + Eclipse v3.7.1 - Indigo.
You can read about that here.
In a nutshell you can't never know about time when onSaveInstanceState will be run.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With