Skip to content

Commit a3ca6ca

Browse files
author
wujingchao
committed
removeAllSwipeListener
1 parent cc6a322 commit a3ca6ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

library/src/main/java/com/daimajia/swipe/SwipeLayout.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ public void removeSwipeListener(SwipeListener l) {
132132
mSwipeListeners.remove(l);
133133
}
134134

135+
public void removeAllSwipeListener() {
136+
mSwipeListeners.clear();
137+
}
138+
135139
public static interface SwipeDenier {
136140
/*
137141
* Called in onInterceptTouchEvent Determines if this swipe event should

0 commit comments

Comments
 (0)