CymChad / CymChad/BaseRecyclerViewAdapterHelper
条目点击事件连点屏蔽
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 24.6k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
setOnItemClickListener()
此方法可以连续点击,导致可以同时打开多个页面,希望能屏蔽段时间连点,目前是自己写了屏蔽,建议直接能屏蔽掉
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 at setOnItemClickListener() and trace how item clicks are dispatched in the adapter. Determine how rapid repeated clicks currently open multiple pages, then verify that repeated clicks within a short interval are suppressed without preventing normal item selection. The issue does not name a file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100