android finish() method doesn't clear app from memory

后端 未结 7 1381
失恋的感觉
失恋的感觉 2020-11-30 00:17

I have an activity and I call the finish() method and the activity is not cleared from memory.

After calling finish() , I see that the method onDestroy() is executed

相关标签:
7条回答
  • 2020-11-30 00:53

    According to this presentation from Google I/O 2008, Finish should also cause the process to be killed, but I wrote a quick application to test this and on Android 1.5 it does not.

    As Romain said (who incidentally is a UI Toolkit engineer for Android), your process will just sit there doing nothing anyways, so it is nothing to worry about.

    0 讨论(0)
提交回复
热议问题