fchristysen
fchristysen

Reputation: 208

Android Task Implication

I have read 4 type of activity's launch mode(standard, singleTop, singleTask, singleInstance), and I could imagine how activity will "stacked" depend on its launch mode. But what's the implication of starting new activity in new stack vs current stack?

e.g. : I start with opening Activity A, then I want to open Activity B, then I have a choice to put this on top of A(Current Stack) or I could start a new Task for this Activity B(as root activity of the new task). What's the implication?

Upvotes: 2

Views: 69

Answers (2)

BladeCoder
BladeCoder

Reputation: 12929

I believe you meant "Task" instead of Stack in your sentences.

The first obvious implication is that you'll see a new Task appearing in the Task manager and you'll be able to switch between the new task and the old one. The two will exist in parallel.

Upvotes: 3

Rick Sanchez
Rick Sanchez

Reputation: 4746

The implication is that you see both tasks in recents, like having two instances of the app opened.

Upvotes: 1

Related Questions