Skip to content

Commit f53ccb0

Browse files
committed
1 parent 84001f5 commit f53ccb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,10 @@ public int getViewVerticalDragRange(View child) {
329329
@Override
330330
public void onViewReleased(View releasedChild, float xvel, float yvel) {
331331
super.onViewReleased(releasedChild, xvel, yvel);
332+
processHandRelease(xvel, yvel, isCloseBeforeDrag);
332333
for (SwipeListener l : mSwipeListeners){
333334
l.onHandRelease(SwipeLayout.this, xvel, yvel);
334335
}
335-
processHandRelease(xvel, yvel, isCloseBeforeDrag);
336336

337337
invalidate();
338338
}

0 commit comments

Comments
 (0)