@Override
protected void onStart() {
super.onStart();
Log.e("Msg","启动---onStart");
}
@Override
protected void onResume() {
super.onResume();
Log.e("Msg","继续执行---onResume");
}
@Override
protected void onPause() {
super.onPause();
Log.e("Msg","暂停---onPause");
}
@Override
protected void onStop() {
super.onStop();
Log.e("Msg","停止---onStop");
}
@Override
protected void onDestroy() {
super.onDestroy();
Log.e("Msg","销毁---onDestroy");
}
Android笔记(四)Activity的生命周期
最新推荐文章于 2024-08-27 16:29:55 发布