Attempt to fix #113

Modifies the onTouch method of DragSortController
an attempt to fix the crash when scrolling in the queue
This commit is contained in:
Amin Bandali 2015-02-21 08:55:06 -05:00
parent c28564ae8d
commit 7835436a35

View File

@ -236,11 +236,11 @@ public class DragSortController extends SimpleFloatViewManager implements View.O
@Override
public boolean onTouch(View v, MotionEvent ev) {
mDetector.onTouchEvent(ev);
if (!mDslv.isDragEnabled() || mDslv.listViewIntercepted()) {
return false;
}
mDetector.onTouchEvent(ev);
if (mRemoveEnabled && mDragging && mRemoveMode == FLING_REMOVE) {
mFlingRemoveDetector.onTouchEvent(ev);
}