gzu-liyujiang / gzu-liyujiang/AndroidPicker
WheelView会处理点击事件
- Dominant language
- Java
- Stars
- 6.8k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
WheelView点击事件的判断未生效
> handleActionMove这个方法中的点击事件判读有问题

1、截图中标红的endPoint变量在down事件时值一直为0,导致了isClick一直为false,如下是打印的log

2、将endPoint的判断注释,仅仅依靠滑动距离判断就正常了没啥异常
有时间请帮忙看一下这个问题,谢谢
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating WheelView.handleActionMove and inspect how endPoint is initialized during the down event and used in the click decision. Reproduce the reported logging behavior, then verify that click detection works without breaking distance-based scrolling; the issue provides screenshots but no test file or named source path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100