Merge pull request #164 from wujingchao/master

removeAllSwipeListener
This commit is contained in:
代码家 2015-06-11 21:48:24 +08:00
commit a10e28ded7
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