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
调用setBannerGalleryEffect设置画廊效果后,再调用adapter的setDatas方法跟新数据,经常会出现画廊效果失效,需要滑动一下才重新正常,版本:2.2.3
The text was updated successfully, but these errors were encountered:
同问
Sorry, something went wrong.
我也出现这个问题。在GalleryActivity界面里,当Banner显示第一张横幅图片时,点击按钮重设一下数据,就会出现。如下图:
参考这位老哥的,在notifyDataSetChanged方法后调用如下方法 banner.post(() -> { banner.getViewPager2().requestTransform(); }); #1149
banner.post(() -> { banner.getViewPager2().requestTransform(); });
No branches or pull requests
调用setBannerGalleryEffect设置画廊效果后,再调用adapter的setDatas方法跟新数据,经常会出现画廊效果失效,需要滑动一下才重新正常,版本:2.2.3
The text was updated successfully, but these errors were encountered: