CymChad / CymChad/BaseRecyclerViewAdapterHelper
BaseNode的abstract val childNode: MutableList<BaseNode>?
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 24.6k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description

abstract val childNode: MutableList? 这个泛型约束要加个out 不然子类返回不了继承BaseNode的MutableList,貌似也就MutableList有这问题
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
Locate the BaseNode declaration and its childNode property, then inspect the subclass declarations that return lists of derived BaseNode types. Verify the generic variance behavior with the existing Kotlin build or tests; the work is done when valid subclass return types compile without weakening the intended BaseNode relationship.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100