Shaun Shaun - 1 year ago 552
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download