android-lifecycle
android-lifecycle copied to clipboard
onActivityResult() actually is called before onRestart() then onStart()
You got it !
Yep :(
I find the answer will happen some Situation!
Depending some condition
https://github.com/lin1987www/FragmentBuilder/raw/master/images/FragmentActivityLifecycle.png
Thanks @lin1987www, your sequence is the correct, see the answer below from an Android Engineer to clarify this issue. https://groups.google.com/d/msg/android-developers/3epIML7fjGw/J46YefbBlGEJ
I never thought " Why onActivityResult() called before onResume()", Thanks @isanjosgon , I learned something today. :3
Waiting for update about this issue.
A very common fault ... thanks for catching that