linfaxin 2015-04-22 19:02:05 +08:00
parent 84001f59f6
commit f53ccb009c
1 changed files with 1 additions and 1 deletions

View File

@ -329,10 +329,10 @@ public class SwipeLayout extends FrameLayout {
@Override @Override
public void onViewReleased(View releasedChild, float xvel, float yvel) { public void onViewReleased(View releasedChild, float xvel, float yvel) {
super.onViewReleased(releasedChild, xvel, yvel); super.onViewReleased(releasedChild, xvel, yvel);
processHandRelease(xvel, yvel, isCloseBeforeDrag);
for (SwipeListener l : mSwipeListeners){ for (SwipeListener l : mSwipeListeners){
l.onHandRelease(SwipeLayout.this, xvel, yvel); l.onHandRelease(SwipeLayout.this, xvel, yvel);
} }
processHandRelease(xvel, yvel, isCloseBeforeDrag);
invalidate(); invalidate();
} }