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

onCreateViewHolder中getBindingAdapterPosition或者getAdapterPosition等获取的position有问题 #1231

Open
SwordSware opened this issue Jun 18, 2024 · 2 comments

Comments

@SwordSware
Copy link

onCreateViewHolder中getBindingAdapterPosition或者getAdapterPosition等获取的position有问题,最新版的这个测试:比如数据的position是0,getBindingAdapterPosition或者getAdapterPosition返回的是1
之前的老版本(具体版本不记得了,因为是其他人通过源码引入的),getBindingAdapterPosition或者getAdapterPosition在测试过程中偶尔还会返回-1

@qq2339300630
Copy link

+1

1 similar comment
@bailongbo
Copy link

+1

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

3 participants