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为自动轮播时,getItemType一直调用,把header去掉就没事了 #2780

Closed
devChengs opened this issue Jun 11, 2019 · 4 comments

Comments

@devChengs
Copy link

在adapter 添加head为banner 自动播放时,getItemType会一直调用

@AllenCoder
Copy link
Collaborator

轮播图自动播放时,是否一直频繁调用了adapter.notifyDataSetChanged()?

@devChengs
Copy link
Author

轮播图自动播放时,是否一直频繁调用了adapter.notifyDataSetChanged()?

没有,是每次自动获取焦点时,就会调用,没有调用notifyDataSetChanged()

@CymChad
Copy link
Owner

CymChad commented Jul 21, 2019

请根据规范提问 #2807

@CymChad CymChad closed this as completed Jul 21, 2019
@AttackPangHu
Copy link

轮播图自动播放时,是否一直频繁调用了adapter.notifyDataSetChanged()?

没有,是每次自动获取焦点时,就会调用,没有调用notifyDataSetChanged()

你問題解決了嗎?我也有同樣的問題

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

4 participants