Get previous activity?

Viewed 2304

While this has been asked many times, I couldn't find an answer for my variation of the issue.

I have three Activities, A, B, and C.

It is possible to get from A -> B and it is also possible to get from A -> C; it is not possible to get from B -> C.

Once we're in Activity C, the only way to get out of the Activity is by pressing the system back button or a call to onBackPressed() by pressing the back button in the Toolbar. I never create another Intent to launch from C. Because I never create an Intent, I have no way of calling intent.putExtra(key, value);

I'm trying to implement a condition refresh of some data in A--but only if we're coming back from B. How can I accomplish this?

1 Answers
Related