If I have three activities:
1- Main
2- Search
3- New
Lets say some action in activity 1 prompts activity 1 to display activity 2 ("startactivity(2)"), and some action in activity 2 causes activity 3 to display.
What is the best method to then go back to activity 1?
Meaning, if I do an activity.finish in activity 3 when activity 3 is done, it will then display activity 2, which I do NOT want.
But if I simply do a StartActivity(1) from activity 3, then activity 2 will be still loaded and if I later do another startactivity(2) from activity 1, then Activity 2's "Activity_Resume" sub might run instead of activity 2's "Activity_Create" sub.
Whats the best way to unfold all the activity's back to activity 1?