CymChad / CymChad/BaseRecyclerViewAdapterHelper

BaseExpandNode BaseNode 折叠超级难用

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

为了升级Androidx,对应的这个adapter库也升级Androidx版本,超级不兼容,改动很多地方,然后升级之后,改到折叠这里,继承basenode的getChildNode又不能用子类的对象,只能用BaseNode这个对象。

item对应的点击事件也只能在BaseNodeProvider里面写,那要用到activity里面方法,应该怎么搞

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 reading the BaseExpandNode and BaseNode APIs, especially getChildNode, and inspect BaseNodeProvider for item click handling. The issue does not name files or tests, so first clarify the intended subclass type behavior and how providers should access Activity methods. Done would require an agreed AndroidX-compatible design for both node collapsing and click callbacks.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.