onActivityResult() & onResume()

Viewed 42621

Could someone tell me which gets called first, is it onActivityResult() or is it onResume()? Example:

Activity A calls startActivityForResult() to start Activity B. B executes, completes and returns a result to A, but which method of A is called first, onActivityResult() or onResume()?

I know someone has answered this question already by referring to the Activity Docs, however I couldn't find in there myself.

3 Answers
Related