android-wheel icon indicating copy to clipboard operation
android-wheel copied to clipboard

Minor fix for problems experienced on Samsung Galaxy S3 mini

Open IvanGavran opened this issue 12 years ago • 0 comments

On some devices WheelView has been unresponsive and very hard to use. The problem has been identified on Samsung S3 Mini - the wheel was unresponsive unless you have pressed wheel for a while and start scrolling after that. The problem was also reproducable on Samsung S3 but only if user scrolled the wheel very very fast…

After connecting both phones to ADB and quick investigation of LogCat I have found out that MotionEvent.ACTION_MOVE has never been processed by WheelView. The reason was that MotionEvent.ACTION_CANCELED has been received immediately after MotionEvent.ACTION_DOWN. So I updated onTouchEvent method to call getParent().requestDisallowInterceptTouchEvent(true) immediately after ACTION_DOWN event has been detected.

IvanGavran avatar Mar 28 '13 08:03 IvanGavran