How does android:taskaffinity
attribute work?
As per my understanding, pressing the Home key will move the activity to back stack, but it will not be destroyed. I am confused.
How does android:taskaffinity
attribute work?
As per my understanding, pressing the Home key will move the activity to back stack, but it will not be destroyed. I am confused.
Copyright © 2021 Jogjafile Inc.
You indeed set a diffrent android:taskAffinity for activity2 and for the other activities. This will force android to make a diffrent stack when (see my example).
The following sequence should be correct. for the