切换到该Fragment

onAttach
onCreate
onCreateView
onActivityCreated
onStart
onResume

屏幕灭掉:

onPause
onSaveInstanceState
onStop

 

屏幕解锁

onStart
onResume

 

切换到其他Fragment:
onPause
onStop
onDestroyView

 

切换回本身的Fragment:

onCreateView
onActivityCreated
onStart
onResume

回到桌面

onPause
onSaveInstanceState
onStop

回到应用

onStart
onResume

 

退出应用

onPause
onStop
onDestroyView
onDestroy
onDetach

posted on 2017-02-27 22:05  从前有個人  阅读(139)  评论(0编辑  收藏  举报