CymChad / CymChad/BaseRecyclerViewAdapterHelper

expandAndCollapseOther方法在3级树状列表(第二、第三级子条目均为多条数据)时有bug

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

版本:3.0.7
使用场景,3级树状列表,2级、3级均为多条数据,使用expandAndCollapseOther方法时,只有当2级条目的父类一致时才生效,不一致时并不会关闭已打开的条目

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

Start by reproducing the issue in version 3.0.7 with a three-level tree list where the second- and third-level entries contain multiple items, focusing on expandAndCollapseOther. Compare behavior when second-level entries share a parent versus when they do not. Done means previously opened entries close correctly even when their second-level parents differ; no file or test is named in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.