Am I missing something or do Fragments not have a onRestoreInstanceState() method? If not, how do I go about attaining something similar?
Fragment
onRestoreInstanceState()
Fragments do not have an onRestoreInstanceState method.
onRestoreInstanceState
You can achieve the same result in onActivityCreated, which receives a bundle with the saved instance state (or null).
onActivityCreated
Check the source code here.
1.4m articles
1.4m replys
5 comments
57.0k users