I have an application that has this transition:
A -> B -> C -> D-> C
Upon entering C
, i have to check a flag. Then I have to pass it as intent (let us say intentX = false
) to D
. After doing something in D
, it will then go back to C
after pressing a button.
What i did was just pass again the intentX
with value true, then startActivity C again.
So what happen is that it created another Activity C.
What i want to happen is that i will not have to start a new Activity C, but use the previous C by just calling super.onBackPressed()
. But I cannot pass the new value of the intentX
. Is there other way, to achieve what i want. I might have missed some.