Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions library/src/main/java/com/daimajia/swipe/SwipeLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ public interface SwipeListener {
void onHandRelease(SwipeLayout layout, float xvel, float yvel);
}

public boolean hasSwipeListeners(){
return mSwipeListeners.isEmpty();
}

public void addSwipeListener(SwipeListener l) {
mSwipeListeners.add(l);
}
Expand Down