onCreate()->Created->onStart()->Started(visible)->onResume()->Resumed(visible)
->onPause()->Paused(partially visible)->onStop()->Stopped(hidden)->onDestroy()->Destroyed
Paused Activity通過onResume()酬屉,Stopped Activity通過onReStart()->onStart()
特殊場景
屏幕旋轉(zhuǎn)時的Activity
Activity運行中--屏幕旋轉(zhuǎn)-->onPause()->onStop()->onDestroy()->onCreate()->onStart()->onResume()->Activity運行中
低內(nèi)存惡劣環(huán)境
Activity運行中-home鍵->onPause()->onStop()-低內(nèi)存->onDestroy()->Activity killed