I have 3 activities - Activity A, Activity B and Activity C. the transitions are as follows
A->B and B->A , A->C and C->A
now, when I am returning to A, I need different animation for the transition, depending on whether I am coming from B or C.
Activity A is the home page of the app, so I am going from A->B or A->C using Textviews but from both of them, I am returning to A using the hardware back button.
So, my question is how can I detect in A, whether I am returning from A or B and apply the transition animation accordingly?