Devlight / Devlight/InfiniteCycleViewPager

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

Open
#33 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.7k
Forks
821
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.