What is called first when activity is restored? onRestoreInstanceState
or onActivityResult
?
Asked
Active
Viewed 2,881 times
6

double-beep
- 5,031
- 17
- 33
- 41

Sebastian Nowak
- 5,607
- 8
- 67
- 107
-
Check [this answer related to activity life cycle](http://stackoverflow.com/a/8516056/265167), this may help you i guess! – Yaqub Ahmad Dec 15 '11 at 07:54
-
The problem was solved few months ago! – Sebastian Nowak Dec 22 '11 at 17:18
1 Answers
15
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.

Pankaj Kumar
- 81,967
- 29
- 167
- 186