android - What method is called from the backstack -


what method gets called when activity shown again backstack after backpress on previous activity. i've tried onactivityreenter doesn't called expected.

if activity isn't destroyed form os. first invoke onrestart(), followed onstart() , onresume(). if activity has been destroyed invoke oncreate() instead of onrestart()

read more here , here

here diagram of lifecycle:

enter image description here


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -