This commit is contained in:
parent
84001f59f6
commit
f53ccb009c
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue