CymChad / CymChad/BaseRecyclerViewAdapterHelper
如何获取操作数据集合?
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
比较复杂的数据操作,类似微信的聊天会话列表,当收到其他人的消息,将其放到顶部,其他会话下移,但是Adapter中的add,remove,set,swap,move,全都是调用了更新,没有直接操作数据的地方,导致只更新一个item,其他的数据无法更改
版本:io.github.cymchad:BaseRecyclerViewAdapterHelper4:4.1.2
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 entry points named in the report: add, remove, set, swap, and move. Trace how each updates the RecyclerView and whether the adapter's data collection is exposed or changed; done means complex reordering, such as moving a newly active conversation to the top, updates every affected item consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100