什么是launchMode"多"? [英] What is launchMode "Multiple"?

查看:117
本文介绍了什么是launchMode"多"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://developer.android.com/guide/topics /manifest/activity-element.html 他们列出launchMode的可能值

 的android:launchMode =多重| singleTop|
                      singleTask| singleInstance]

什么是多,并发生了什么标准?除非我俯瞰它,或者它不是在我的Firefox浏览器中出现,我没有看到有关文件之日起任何东西,但也有其他的文件API级别高达16在同其他地方也有引用文件在那里讨论launchMode他们提到的标准。那么,多只是一个错字?


解决方案

  

什么是多


有一个名词(或,替代地,一个形容词,取决于使用情况)。 : - )


  

和发生了什么事标准?


在在文档中的一个点,它是由单词多所取代。


  

那么,多只是一个错字?


我假设如此。这是可能的,但他们又改名了,和标准多个将意味着同样的事情,虽然这也是一个文档错误,这就是为什么我提出的问题(见本段开头的链接)。

尼斯赶上!

On http://developer.android.com/guide/topics/manifest/activity-element.html they list the possible values for launchMode as

  android:launchMode=["multiple" | "singleTop" |
                      "singleTask" | "singleInstance"]

What is "multiple" and what happened to "standard"? Unless I'm overlooking it, or it's not appearing in my Firefox browser, I don't see anything about the date of the document, but there are references elsewhere in the document to API Levels as high as 16. Also elsewhere in the same document where they discuss launchMode they mention "standard". So is "multiple" just a typo?

解决方案

What is "multiple"

It is a noun (or, alternatively, an adjective, depending upon usage). :-)

and what happened to "standard"?

In that one spot in the docs, it was replaced by the word "multiple".

So is "multiple" just a typo?

I am assuming so. It is possible that they renamed it, and standard and multiple will mean the same thing, though that too is a documentation bug, which is why I filed the issue (see link at beginning of this paragraph).

Nice catch!

这篇关于什么是launchMode"多"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆