You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and a fragment which extends BaseFragment and calls super.onCreateView(inflater, container, savedInstanceState); inside the method onCreateView and my string is not saved
The docs are saying this library is compatible with Fragments but I can't make it work on my project.
I'm simply defining my variable as :
@State String test;
After doing so, inside the methods "onSaveInstance" and "onCreateView" I'm saving/restoring using the methods provided by "IcePick" class.
To take out the doubt, I've manually defined at my Bundle the variable and it has worked like a charm.
Is there something missing?
The text was updated successfully, but these errors were encountered: