romannurik/Android-SwipeToDismiss — pull request #3 by laurencedawson (2013-09-01 23:01:59+00:00)
Title: Intercept MotionEvent when performDismiss() is called

When we have decided to dismiss the view, we should return true in onInterceptTouchEvent() to intercept the MotionEvent and stop the event being passed to the view.

Without this fix when a view is dismissed / hidden quickly it's possible to trigger the onClickListener and click the hidden view.