The problem as follows. Let us have 3 tabs with fragments:
You didn't write how are you adding fragments, during runtime or not. It will be better to add it during runtime and assign TAG to a each fragment, like this:
...
fragmentTransaction.replace(R.id.layoutTab2, fragment, "F-B-2");
...
fragmentTransaction.replace(R.id.layoutTab3, fragment, "F-B-3");
...
so later you can identify or find fragment by its tag. For example:
FragmentManager.findFragmentByTag("F-B-2")
or if you need fragment B 3:
FragmentManager.findFragmentByTag("F-B-3")
Hope it will help.