CymChad / CymChad/BaseRecyclerViewAdapterHelper
连续下拉刷新后 Adapter.submitList会出现重复数据,出现重复后再次刷新,重复数据没了。有人遇到过么,有什么处理方法。
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 24.6k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
- 尝试在历史问题搜索答案。
- 尝试阅读文档找到答案。
- 尝试阅读Demo找到答案。
- 尝试自己检查或试验以找到答案。
- 尝试阅读源代码以找到答案。
- 请勿将产品的一些特殊交互需求 和 该库暂不支持作为bug混为一谈,请您仔细甄别
如果还是没有找到答案,提问请带上这几个必要信息
- 当前使用的版本号
- 复现操作描述
- 使用代码
- crash日志
- gif复现效果
- 抽取demo
将你出现的问题代码抽出来成一个可直接运行的项目。(最好fork本库修改)
在本地修改demo,然后把commit push到github上,在issue里贴下demo的地址。
有详细的描述才能使得我们更快速的定位问题并解决问题,感谢配合!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Adapter.submitList entry point and gather the missing version, reproduction steps, code, crash log, GIF, or runnable demo requested in the issue. Reproduce repeated pull-to-refresh cycles and compare the submitted lists to determine whether duplicate items appear; done means the behavior is reproduced and its cause or a verified fix is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100