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

Header 和 Footer imagevieew id 一致会导致动画不执行问题,提醒 #90

Open
whiskeyfei opened this issue Mar 23, 2019 · 2 comments

Comments

@whiskeyfei
Copy link

如果你的上拉和下拉都使用统一Header并且使用了序列帧,你的Imageview Id 一定不要相同,否则会出现footer 动画不执行问题

@liaoinstan
Copy link
Owner

Header/Footer的getView方法中inflate,如果传true,并且你的header/footer布局中有相同id就会冲突。
推荐这里用false。
inflater.inflate(R.layout.acfun_footer, viewGroup, false);

@whiskeyfei
Copy link
Author

thanks!

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

2 participants