如果IntentActivity处于任务栈的顶端,即之前打开过的Activity,现在处于onPause()、onStop()状态的话,
其他应用再发送Intent的话,执行顺序为:
onNewIntent()
onRestart()
onStart()
onResume()
Activity生命周期onNewIntent()
最新推荐文章于 2023-04-26 16:48:22 发布
如果IntentActivity处于任务栈的顶端,即之前打开过的Activity,现在处于onPause()、onStop()状态的话,
其他应用再发送Intent的话,执行顺序为:
onNewIntent()
onRestart()
onStart()
onResume()