baoyongzhang / baoyongzhang/SwipeMenuListView
Crash in onTouchEvent
- Dominant language
- Java
- Stars
- 3.5k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi Mr Bao,
Please fix this issue, i always get it after performing a menu item click, then scroll the listview (tested for Android 2.x).
java.lang.ArrayIndexOutOfBoundsException
at android.view.MotionEvent.getY(MotionEvent.java:903)
at android.widget.AbsListView.onTouchEvent(AbsListView.java:2184)
at android.widget.ListView.onTouchEvent(ListView.java:3446)
at com.baoyz.swipemenulistview.SwipeMenuListView.onTouchEvent(SwipeMenuListView.java:112)
at android.view.View.dispatchTouchEvent(View.java:3885)
Looking forward to hear your reply. Thank you.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in SwipeMenuListView.onTouchEvent at line 112 and reproduce the reported menu-click, then scroll interaction on Android 2.x. Trace how the event reaches ListView and the reported MotionEvent.getY failure. Done means the interaction no longer produces the ArrayIndexOutOfBoundsException.
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
- 32/100