CymChad / CymChad/BaseRecyclerViewAdapterHelper

第一个item点击无效

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

不能再convert方法里addChildClickViewIds 需要在activity里 adapter.addChildClickViewIds

Originally posted by @zhouzikk in https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/3305#issuecomment-712553987

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 tracing the adapter's convert method and the Activity usage of adapter.addChildClickViewIds described in the report. Reproduce the first-item click behavior and compare registrations made in convert with those made in the Activity. Done means the first item responds correctly under the expected registration pattern.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.