add removeAllSwipeListener. fix #138

This commit is contained in:
daimajia 2015-05-17 09:31:02 +08:00
parent 1f70d1b139
commit 8ad6b1792d
1 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,10 @@ public class SwipeLayout extends FrameLayout {
mSwipeListeners.remove(l);
}
public void removeAllSwipeListener() {
mSwipeListeners.clear();
}
public interface SwipeDenier {
/*
* Called in onInterceptTouchEvent Determines if this swipe event should