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()
here diagram of lifecycle:
Comments
Post a Comment