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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With