Konstantin Milyutin
Konstantin Milyutin

Reputation: 12366

Making activity singleTask destroys stack after returning?

I'm wondering why making activity singleTask destroys the stack after returning to it. For example, with standard type if we adhere to rules, another instance of first activity should start again, but it doesn't. What's so special in singleTask? P.S. I saw this discussion: Android: bug in launchMode="singleTask"? -> activity stack not preserved

Upvotes: 1

Views: 2473

Answers (1)

Torid
Torid

Reputation: 4196

Check out the answer at Android singleTask or singleInstance launch mode? - which does a good job if explaining the documentation and refers on to an excellent blog / android app (at http://blog.akquinet.de/2010/02/17/android-activites-and-tasks-series-an-introduction-to-androids-ui-component-model/).

Upvotes: 2

Related Questions