“`”

singleTop:如果新Activity已经位于任务栈的栈顶,就不会重新创建,并回调 onNewIntent(intent) 方法。
singleTask:只要该Activity在一个任务栈中存在,都不会重新创建,并回调 onNewIntent(intent) 方法。

 

<pre><code> "“`

Was this helpful?

0 / 0

发表回复 0

Your email address will not be published.