I call an activity (say Activity A) from the main activity. In Activity A, I initialize some objects from a class. The object is referenced on the Process Globals of Activity A so that I can access the object from other Activity.
I click the Next button to exit Activity A and call Activity.Finish to remove it from the Activity stack. Then move to another activity(say B).
Activity B will refer the objects initialized from Activity A.
However when I click on the back button while on Activity B, Activity A is still being displayed even though I have called Activity.Finish. I thought I should go straight to the main activity?
Main <-> Activity A (Activity.Finish called when exiting) <-> Activity B
Does referring the objects from Activity A recreate the activity?
I click the Next button to exit Activity A and call Activity.Finish to remove it from the Activity stack. Then move to another activity(say B).
Activity B will refer the objects initialized from Activity A.
However when I click on the back button while on Activity B, Activity A is still being displayed even though I have called Activity.Finish. I thought I should go straight to the main activity?
Main <-> Activity A (Activity.Finish called when exiting) <-> Activity B
Does referring the objects from Activity A recreate the activity?