摘要:
打开应用时调用的方法:onCreateonStartonResume旋转屏幕时调用的方法:onPauseonSaveInstanceStateonStoponDestroyonCreateonStartonRestoreInstanceStateonResume按下home键时调用的方法:onPauseonSaveInstanceStateonStop返回到应用时调用的方法:onRestartonStartonResume按下返回键时调用的方法:onPauseonStoponDestroy 阅读全文