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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
轮播任意布局是要在代码里动态添加布局吗?轮播布局不会用呀,求写个用法呀
The text was updated successfully, but these errors were encountered:
mBanner.setPages(new CustomBanner.ViewCreator() { @OverRide public View createView(Context context, int position) { // 在这里创建和返回你要轮播的布局。 return view; }
@Override public void updateUI(Context context, View view, int position, String entity) { //在这里更新你的布局内容。这里的view就是你的布局。 } }, list)
轮播布局和轮播图片是一样的,只要把ImageView改成你要轮播的布局就可以了。
Sorry, something went wrong.
好的, view = LayoutInflater.from(context).inflate(R.layout.banner_item, null); 我自己尝试了一下,可以的,谢谢啦!
坐等大神你把滑动的时候有一个小卡顿还有滑动的时候禁止自动轮播这两个问题优化一下!!!
No branches or pull requests
轮播任意布局是要在代码里动态添加布局吗?轮播布局不会用呀,求写个用法呀
The text was updated successfully, but these errors were encountered: