Pregunta

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

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top