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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -