Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is launchMode "Multiple"?

Tags:

android

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?

like image 525
user316117 Avatar asked Apr 09 '13 15:04

user316117


2 Answers

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!

like image 155
CommonsWare Avatar answered Sep 28 '22 06:09

CommonsWare


Probably it is just a typo. E. g. constant in ActivityInfo class is named LAUNCH_MULTIPLE but the comment says:

Constant corresponding to standard in the launchMode attribute.

like image 37
Andrei Mankevich Avatar answered Sep 28 '22 06:09

Andrei Mankevich