質問

What is called first when activity is restored? onRestoreInstanceState or onActivityResult?

役に立ちましたか?

解決

From my experience, flow must be

onCreate
onStart
onRestoreInstanceState
onActivityResult
onResume

So, onActivityResult is called AFTER the onRestoreInstanceState.

Here and here are sample code, which make clear about your doubt.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top