InfiniteCycleViewPager icon indicating copy to clipboard operation
InfiniteCycleViewPager copied to clipboard

1. adapter.notifyDataSetChanged is not working for all fragments adapter . 2. Issue in setOffscreenPageLimit.

Open jazzbpn opened this issue 9 years ago • 0 comments

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);
}

jazzbpn avatar Dec 12 '16 17:12 jazzbpn