CymChad / CymChad/BaseRecyclerViewAdapterHelper

使用node布局,假设有3级列表,使用nodeAddData方法,往第一级下面插入2级数据,如果当前1级下面包含2级,2级里也包含3级,新插入的2级数据应该显示在上一个2级列表加上此2级列表包含的3级列表后面,目前显示排在了上一个2级和此2级下包含的3级列表之间,但是调用折叠之后再展开,就恢复 了正常显示

Open
#3,203 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

使用node布局,假设有3级列表,使用nodeAddData方法,往第一级下面插入2级数据,如果当前1级下面包含2级,2级里也包含3级,新插入的2级数据应该显示在最后一条,目前显示排在了上一个2级下面,上一个2级包含的3级列表的上面,但是调用折叠之后再展开,就恢复 了正常显示

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 issue in the node layout using nodeAddData with three nested list levels, focusing on insertion under a first-level node that already has expanded descendants. Compare the displayed order before and after collapsing and expanding; done when the inserted second-level data appears after the existing second-level subtree without requiring a collapse-and-expand cycle.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.