pul*_*ion 5 android android-activity android-task
因此,我一直在阅读“ 任务”,“后退堆栈”和“概述屏幕”上的文档,有一件事使我感到困惑。在launchMode
这里阅读完之后documentLaunchMode
:http : //developer.android.com/guide/components/tasks-and-back-stack.html然后在这里阅读:http : //developer.android.com/guide/components/recents.html我无法分辨它们之间的差异!
两者都被描述为提供控制相对于当前任务(启动活动的任务)的任务中新活动的启动的方法。那么这两种模式有何不同?-document的附加意味着什么?
以下是直接在清单文件中使用它们的文档:
LaunchMode: http : //developer.android.com/guide/topics/manifest/activity-element.html#lmode
DocumentLaunchMode: http : //developer.android。 com / guide / topics / manifest / activity-element.html#dlmode
归档时间: |
|
查看次数: |
1888 次 |
最近记录: |