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

fix: 虚拟列表使用错误的itemRenderer #412

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yeling584283398
Copy link

当使用eui.ItemRenderer时会给ItemRenderer赋值$hashCode,之后使用其他继承于eui.ItemRenderer的其他ItemRenderer就会直接读取到eui.ItemRenderer的$hashCode,而无法创建新的$hashCode;
最终导致:当虚拟列表使用两个不同的renderer时,由于他们的$hashCode是一样的,所以执行createVirtualRenderer方法时会取之前缓存的renderer,最终所有Item都是同一个renderer

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

Successfully merging this pull request may close these issues.

None yet

1 participant