Skip to content

Commit 8953859

Browse files
author
jam_hsu
committed
change default to false
1 parent 78ae1ea commit 8953859

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

library/src/main/java/com/etsy/android/grid/ExtendableListView.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -707,11 +707,9 @@ public boolean onTouchEvent(MotionEvent event) {
707707
case MotionEvent.ACTION_UP:
708708
handled = onTouchUp(event);
709709
break;
710-
// The default case sholud not execute the onTouchUp(), it may cause wrong action,
711-
// for example, when user use two fingers to touch a item, it will receive a
712-
// ACTION_POINTER_DOWN event, which should not trigger onTouchUp().
710+
713711
default:
714-
handled = true;
712+
handled = false;
715713
break;
716714
}
717715

0 commit comments

Comments
 (0)