CymChad / CymChad/BaseRecyclerViewAdapterHelper

3.0.4 父recycleview嵌套子recycleview,子recycleview有数据更新setNewInstance后,父recycleview不会自动变化,还得多做一步刷新父recycleview当前行。旧版本是能主动刷新数据和占位的

Open
#3,433 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
24.6k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

v3.0.4 父recycleview嵌套子recycleview,子recycleview有数据更新setNewInstance后,父recycleview不会自动变化,还得多做一步刷新父recycleview当前行。旧版本父recycleview是能主动刷新数据和占位的。请问这是新版本的bug还是有特殊设计目的?
我升级3.0.4后项目中以前嵌套多层recycleview的案例都得去适配了

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported behavior in Android 3.0.4 using nested parent and child RecyclerViews, updating the child with setNewInstance. Compare the result with the older version and determine whether the parent row is expected to refresh automatically; document the intended behavior or a minimal reproducible case.

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
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.