What is called first when activity is restored? onRestoreInstanceState or onActivityResult ?
onRestoreInstanceState
onActivityResult
In my experience, the flow should be
onCreate onStart onRestoreInstanceState onActivityResult onResume
So, onActivityResult is called AFTER onRestoreInstanceState .
Here and here is a sample code that clearly indicates your doubts.
Source: https://habr.com/ru/post/900365/More articles:Raphaeljs substring text attributes - javascriptRaphael - Change the color of a letter in a text string - letterI need to implement a hashtable array that works without initializing the array to zero at the beginning. Are there any tips on how to do this? - javaHow to find latitude and longitude using jVector Map Plugin - jqueryRegEx for validating numbers with commas - javascriptget data from selected rows in slickgrid - javascriptResuming the last action when you click on the start icon - androidRemoving BinaryTreeNode from BinaryTree - c ++MapList Function - performanceIf the w3.org HTML5 form specification contains inside the parent , why do most pages implement them as siblings? - html5All Articles