I have three fragment in an Activity C. they are behaving as tabs. I have to go from a fragment to a new Activity X. Now i want to come back to fragment from Activity X.
when you start an activity from a fragment, the fragment never got killed,
you can simply come back to your fragment by kill the current activity by finish();,
it just like when from a fragment you open an activity and on pressing back button
you jumped to the fragment without losing data.