We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndicatorViewPager中 setLoop(boolean loop)非public ,不能设置loop为false,但是getCount方法中作者这么写: if (IndicatorViewPagerAdapter.this.getCount() == 0) { return 0; } if (loop) { return Integer.MAX_VALUE - 100; } return IndicatorViewPagerAdapter.this.getCount(); 所以单张图片时手势滑动仍是无限循环,然而需求经常要求单张图是不能滑动切换的
The text was updated successfully, but these errors were encountered:
这个我可以添加个设置,不过这个功能要明天周六提交
Sorry, something went wrong.
No branches or pull requests
IndicatorViewPager中 setLoop(boolean loop)非public ,不能设置loop为false,但是getCount方法中作者这么写: if (IndicatorViewPagerAdapter.this.getCount() == 0) {
return 0;
}
if (loop) {
return Integer.MAX_VALUE - 100;
}
return IndicatorViewPagerAdapter.this.getCount();
所以单张图片时手势滑动仍是无限循环,然而需求经常要求单张图是不能滑动切换的
The text was updated successfully, but these errors were encountered: