android fragment onRestoreInstanceState
Fragments do not have an
onRestoreInstanceState method.
You can achieve the same result in
onActivityCreated, which receives a bundle with the saved instance state (or null).
Check the source code https://developer.android.com/reference/android/app/Fragment.html#Layout




0 commentaires: