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

MZBannerView 在布局中不能设置为wrap_content吗? #94

Open
Demo-H opened this issue Jan 28, 2019 · 0 comments
Open

MZBannerView 在布局中不能设置为wrap_content吗? #94

Demo-H opened this issue Jan 28, 2019 · 0 comments

Comments

@Demo-H
Copy link

Demo-H commented Jan 28, 2019

在布局中MZBannerView设置为wrap_content,里面item的布局为fresco图片加载布局。
最后发现MZBannerView不固定大小都不会显示。
调试的时候发现不走onDraw()。
怀疑是不是是为了防止图片滑动过程之中,banner重绘,所以必须开始就确定大小?

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