removeAllSwipeListener

This commit is contained in:
wujingchao 2015-06-03 21:47:30 +08:00
parent cc6a322f74
commit a3ca6ca713
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 static interface SwipeDenier {
/*
* Called in onInterceptTouchEvent Determines if this swipe event should