We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RecyclerView避免快速滑动时数据错乱问题有一种方案是setHasStableIds(true)然后重写getItemId(position: Int)方法返回一个固定的id值,但是现在这个ExpandableRecyclerView组件有groupPosition和childPosition,没法直接重写getItemId(position: Int)方法,所以有避免快速滑动时数据错乱的更好的方案吗?或者如何保证getItemId(position: Int)返回唯一id值,且position能与groupPosition和childPosition对应上
The text was updated successfully, but these errors were encountered:
No branches or pull requests
RecyclerView避免快速滑动时数据错乱问题有一种方案是setHasStableIds(true)然后重写getItemId(position: Int)方法返回一个固定的id值,但是现在这个ExpandableRecyclerView组件有groupPosition和childPosition,没法直接重写getItemId(position: Int)方法,所以有避免快速滑动时数据错乱的更好的方案吗?或者如何保证getItemId(position: Int)返回唯一id值,且position能与groupPosition和childPosition对应上
The text was updated successfully, but these errors were encountered: