I've an activity suppose "Activity A" which I start by two ways
a)StartActivity()
b) StartActivityForResult()
Now I have few methods which are having different behaviours for the way activity started. Now I want to detect that "Activity A" is started for result.
So my question how we can detect that the activity is started for result?
I don't want to send data through intent. Any other way more generalized?
Thank You.