I'm trying use a value retrieved from Activity3 to Activity1. This is my flow:
Activity1 calls Activity2 → Activity2.finish(), call Activity3 → Activity3.doSomethingAndGetValue() → Activity3.finish() → Activity1.useDoSomethingAndGetValue();
I can not find the way to send back the values from Activity3 to Activity1; Even using startActivityForResult() because Activity2 was already destroyed by that time.
I tried to use a serializable interface and pass this as extra value on the intent, but this solution only works with the object passed is a static which doesn't allow me to do any change in the current member variables on Activity 1.
Besides, I've tried all these options without success:
https://stackoverflow.com/a/17306696/3217203
(I'm not allow to use shared preferences for this)
Does anyone has any idea?
Note: I can't add eventBus, I know would be great and way easier but the architecture didn't allow me.