1. MainActivity進入別的Activity
or Home button
or multi-app(square) button
onPause
onStop
2.由別的Activity回去MainActivity
or Home button 離開後再回去
or multi-app button 離開後再回去
onResume
3.MainActivity按back button
onPause
onStop
onDestroy
onBackPressed
4.曾經開啟過App,離開後,再重新進入MainActivity
onResume
shouldDisplayHomeUp
onCreate
沒有留言:
張貼留言