I have some problem with my application,
I have 4 buttons, one to start each of the other activities.
Say activity is called a,b,c,d. I want to be able to change between this activities without getting 100ds of paused activities in the stack but still save the back history.
I.e a->b->a->c->d->a where all a is the same instance of the activity
So practically what I want is to be able to restart the very same instance of the activity instead of starting a new one.
Possible?
Yes, It is possible.
Add this flag to your intents, this will bring your activity on top of stack rather than creating new one.