java - When is finish() executed? -


i searching, when ondestroy executed on android application, found executed when device low of resources(ram, cpu) , when finish() called user.

for example, when press button return activity previous activity, finish() executed?

or in situation finish() executed?

thanks.

finish not callback method ondestroy, won't called system. developer can call if needs .


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -