I want to know whether onCreate always run at first ?
Because in my app, I must set some values in onCreate at first then use them in onActivityResult.
I want to know whether onCreate always run at first ?
Because in my app, I must set some values in onCreate at first then use them in onActivityResult.
Copyright © 2021 Jogjafile Inc.
onCreate will always run at some point, but not always immediately before onActivityResult. If the activity has not been destroyed, then onCreate will not be called again before onActivityResult. According to the documentation this method is called just before onResume.