I have an Activity (C) which can be opened (for result) from more than one other Activity (A and B). Sometimes it goes [A -> B -> C] and sometimes it just goes [A -> C].
I want the scenario [A -> B -> C] to make C return the result to B.
And I want scenario [A -> C] to make C return the result to A.
In both cases Activity C is supposed to do the same thing, but how do I know which Activity type I should use for my Intent when preparing the result (aka how do I know which Activity opened C)?
This os probably rather trivial but I'm a Xamarin noob so bear with me.
/Aidal