📜  生命周期组件 android 依赖 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:20.661000             🧑  作者: Mango

代码示例2
onCreate    called when activity is first created.
onStart    called when activity is becoming visible to the user.
onResume    called when activity will start interacting with the user.
onPause    called when activity is not visible to the user.
onStop    called when activity is no longer visible to the user.
onRestart    called after your activity is stopped, prior to start.
onDestroy    called before the activity is destroyed.