If I add a Fragment instance to Activity A as follows...
getSupportFragmentManager()
.beginTransaction()
.add(R.id.fragment_container, myFragment, "MY_FRAGMENT_TAG")
.commit();
... And then I start Activity B on top of Activity A. Is it possible (?) to get a handle on the previously committed Fragment instance in Activity B something as follows...
getSupportFragmentManager()
.findFragmentByTag("MY_FRAGMENT_TAG");
... This returns null so I wonder if this is possible using the approach above or otherwise??