In android, I have the following path:
Step 1 → Step 2 → Step 3 → ... Step N → click ...
When the button is pressed, I want to clear / finish ALL the actions from Activity 2 to N, and then go to Acitivy X. In other words, I want to finish all the actions before the first, and then go to another.
If I use flags:
CLEAR_TOP, CLEAR_TASK, NEW_TASK, etc.
theoretically, this would complete ALL previous actions with the original. Is there a way to save my initial life and move on to X activity?
Panos source
share