jeudi 11 août 2016

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:

Copyright © 2015 Android Developpment| Design by Blogspot Templates | Published by FLYTemplate.