CymChad / CymChad/BaseRecyclerViewAdapterHelper

BaseNode的abstract val childNode: MutableList<BaseNode>?

Open
#3,518 1 comment 1 reaction 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

1627287261(1)

abstract val childNode: MutableList? 这个泛型约束要加个out 不然子类返回不了继承BaseNode的MutableList,貌似也就MutableList有这问题

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.