CymChad / CymChad/BaseRecyclerViewAdapterHelper
4x版本设置多个子view点击事件繁琐问题
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 24.6k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
请问4X版本设置多个子view点击事件很繁琐能不能改成3x版本一样在init方法中调用addChildClickViewIds直接设置多个子view点击,而不是每个都去设置addOnItemChildClickListener来设置点击事件,我想一劳永逸的只调用一次addOnItemChildClickListener来获取多个子view点击事件
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
Start by reviewing the 4.x APIs around addOnItemChildClickListener and addChildClickViewIds, then compare them with the 3.x behavior referenced in the issue. Done means multiple child views can be configured once in init and handled through one addOnItemChildClickListener call, with behavior matching the 3.x version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100