Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Minor fix for problems experienced on Samsung Galaxy S3 mini #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 28, 2013

  1. Minor fix for handling touch events on WheelView

    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.
    Ivan Gavran committed Mar 28, 2013
    Configuration menu
    Copy the full SHA
    f52ba2c View commit details
    Browse the repository at this point in the history