Skip to content
New issue

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

轮播图数量少于3数,setAutoPlayAble设置无效 #259

Open
zhangyt-Coder opened this issue Jul 10, 2023 · 1 comment
Open

轮播图数量少于3数,setAutoPlayAble设置无效 #259

zhangyt-Coder opened this issue Jul 10, 2023 · 1 comment

Comments

@zhangyt-Coder
Copy link

setAutoPlayAble(true)后
使用setData(List views, List<? extends Object> models, List tips) 导入数据源,
数据少于3时,setAutoPlayAble无效

@zhangyt-Coder
Copy link
Author

if (mAutoPlayAble && views.size() < 3 && mHackyViews == null) {
mAutoPlayAble = false;
}
该段代码导致 setAutoPlayAble无效

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

No branches or pull requests

1 participant