1、Activity① → Activity②
onPause()① →onCreate()②→onStart()②→onResume②→onStop()①;
2、Activity②→Activity①
onPause()②→onRestart()①→onStart()①→onResume()①→onStop()②→onDestroy②;
1、Activity① → Activity②
onPause()① →onCreate()②→onStart()②→onResume②→onStop()①;
2、Activity②→Activity①
onPause()②→onRestart()①→onStart()①→onResume()①→onStop()②→onDestroy②;