Skip to content

Conversation

@tristangrichard
Copy link

Allows developers to fake the count on their adapters and tell pageindicator the real count

the getCount method can now be overridden

*/
public int getCount() {
return manager.indicator().getCount();
return viewPager.getAdapter().getCount();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, just checked your PR, I think here you should keep manager.indicator().getCount()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants