1. adapter.notifyDataSetChanged() is not working for the active fragments which are viewing. Except the active fragments other fragments dataSet are changed. So there is problem in notifyDataSetChanged() .
2. We can even setOffScreenPageLimit to 1 because default is two.
// YOUR CODE
public void setOffscreenPageLimit(int limit) {
super.setOffscreenPageLimit(2);
}
1. adapter.notifyDataSetChanged() is not working for the active fragments which are viewing. Except the active fragments other fragments dataSet are changed. So there is problem in notifyDataSetChanged() .
2. We can even setOffScreenPageLimit to 1 because default is two.