



按返回键退出APP时:
走正常页面的退出流程:onPause–>onStop–>onDestroy(会Destroy,因为它从任务栈中退出了)
再点击图标回来时:
走正常页面的创建流程:onCreate–>onStart–>onResume



按Home键退出App时:
走正常页面的退出流程,但是没走完:onPause–>onStop(不会Destroy,因为它没从任务栈中退出)
再点击图标回来时:
重新启动刚才停止的页面:onRestart–>onStart–>onResume(不必onCreate,因为它之前没被销毁)


……