markzhai / markzhai/DataBindingAdapter
item点击事件得不到View和position
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 239
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
这是在item布局文件里写的话无可避免会拿不到。。。只能去adapter里写点击事件,才能拿到。
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 reading the adapter implementation and the item layout binding described in the issue. Reproduce an item click from the layout and compare it with a click handled by the adapter; clarify the intended callback API and verify that it can provide both the clicked View and its position.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100