Shaun Shaun - 1 year ago 476
Android Question

android fragment onRestoreInstanceState

Am I missing something or do

s not have a
method? If not, how do I go about attaining something similar?

mgv mgv
Answer Source

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 here.