How to destroy an activity in Android?

后端 未结 3 704
半阙折子戏
半阙折子戏 2020-12-13 10:30

While the application is running, I press the HOME button to close the application. When I start the application again, it resumes on the page displayed prior to clicking on

3条回答
  •  时光说笑
    2020-12-13 11:14

    try calling super.onPause() first and later call finish() inside your onPause() stub

提交回复
热议问题