diff --git a/src/com/example/android/swipedismiss/SwipeDismissTouchListener.java b/src/com/example/android/swipedismiss/SwipeDismissTouchListener.java index 8e8c098..3d813c1 100644 --- a/src/com/example/android/swipedismiss/SwipeDismissTouchListener.java +++ b/src/com/example/android/swipedismiss/SwipeDismissTouchListener.java @@ -134,6 +134,7 @@ public boolean onTouch(View view, MotionEvent motionEvent) { if (mCallbacks.canDismiss(mToken)) { mVelocityTracker = VelocityTracker.obtain(); mVelocityTracker.addMovement(motionEvent); + return true; } return false; }