Android Problem : Switching Between Activity in Activity Stack?

Take a look at the Process documentation If a Activity has been started and you invoke it with an Intent for which you've set the FLAG_ACTIVITY_CLEAR_TOP the other activities on the stack will be moved out of the way to make that one on top. To do this your Activities launchMode woul need to be set to singleTop, singleTask or singleInstance.

Take a look at the Process documentation If a Activity has been started and you invoke it with an Intent for which you've set the FLAG_ACTIVITY_CLEAR_TOP, the other activities on the stack will be moved out of the way to make that one on top. To do this your Activities launchMode woul need to be set to singleTop, singleTask or singleInstance.

Suppose There are some activity. I want to start another activity from the main activity. And another from that activity.

And another from the next one. Now I want to switch to Main Activity from Activity 3 without destroying Activity 3 or recreating a new instance of Main Activity. I don't know is there any way to get it done.

If someone know about this.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions