To answer your question, have a look at the android doc: https://developer.android.com/reference/android/app/Activity.html#onRestoreInstanceState(android.os.Bundle)
It says that onRestoreInstanceState is called after onStart() method in the activity lifecycle.
More Related Contents:
- How to start new activity on button click
- How do I prevent Android taking a screenshot when my app goes to the background?
- Difference and uses of onCreate(), onCreateView() and onActivityCreated() in fragments
- On logout, clear Activity history stack, preventing “back” button from opening logged-in-only Activities
- Android static object lifecycle
- When Can I First Measure a View?
- App restarts rather than resumes
- Why use Fragment#setRetainInstance(boolean)?
- How to know when my app has been killed?
- Display fragment viewpager within a fragment
- Android: Under what circumstances would a Dialog appearing cause onPause() to be called?
- One Activity and all other Fragments [closed]
- fragment lifecycle: when “ondestroy” and “ondestroyview” are not called?
- What is the benefit of using Fragments in Android, rather than Views?
- Android – Preserve or delete files created by the application on uninstall
- When exactly are onSaveInstanceState() and onRestoreInstanceState() called?
- Activity.finish() called but activity stays loaded in memory
- How to get rid of Incremental annotation processing requested warning?
- Jetpack compose – how do I refresh a screen when app returns to foreground
- How to handle AsyncTask onPostExecute when paused to avoid IllegalStateException
- Android checking whether the app is closed
- What is the difference between onPause() and onStop() of Android Activites?
- Android: onDestroy() or similar method in Application class
- View pager and fragment lifecycle
- Prevent activity from being destroyed as long as possible
- Android Fragment onCreateView vs. onActivityCreated
- How to execute background task when Android app is closed / set to background?
- Should the call to the superclass method be the first statement?
- App crashes when a button is clicked to load a webview
- Using GSON to parse a JSON with dynamic “key” and “value” in android