CymChad / CymChad/BaseRecyclerViewAdapterHelper

3.0.7版本去除了BaseQuickAdapterModuleImp, BaseListenerImp 后设置监听无法直接提示 lambda

Open
#3,550 2 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
复现操作描述 setOnItemChildClickListener等点击监听方法,实现时AS没有提示lambda的实现了
使用代码 adapter.setOnItemChildClickListener
3.0.7可直接提示如下
adapter.setOnItemChildClickListener { adapter, view, position -> }

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 reviewing the 3.0.7 changes involving BaseQuickAdapterModuleImp and BaseListenerImp, then trace setOnItemChildClickListener and the related click-listener methods. Reproduce the issue in Android Studio using the sample adapter call; done means the listener APIs provide the expected Kotlin lambda completion again.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.