I have Activity A
where I start Activity B
In Activity B
I want to start new instances of B (with different contents) so that I can return to different instances of B. For example:
A → B (with content x) → B '(with content y) -back-> B (with content x)
My problem:
For an example of a navigation path:
A → B → B '-> B' '
when pressed in B '' I return to A, not B, as expected. Doesn't android store instances of activity in the background stack, or do I need to do something to tell the android to save each individual instance so that I can move between them?
source share