Ignoring navigate() call: FragmentManager has already saved its state
You must always call super.onActivityResult()
in your Activity's onActivityResult
. That is what:
Unlocks Fragments so they can do fragment transactions (i.e., avoid the
state is already saved
errors)Dispatches
onActivityResult
callbacks to Fragments that calledstartActivityForResult
.
Finally, I fix the issue by simple calling super.onPostResume()
right before navigating to restore state.