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:
parent
c28564ae8d
commit
7835436a35
@ -236,11 +236,11 @@ public class DragSortController extends SimpleFloatViewManager implements View.O
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onTouch(View v, MotionEvent ev) {
|
public boolean onTouch(View v, MotionEvent ev) {
|
||||||
|
mDetector.onTouchEvent(ev);
|
||||||
if (!mDslv.isDragEnabled() || mDslv.listViewIntercepted()) {
|
if (!mDslv.isDragEnabled() || mDslv.listViewIntercepted()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
mDetector.onTouchEvent(ev);
|
|
||||||
if (mRemoveEnabled && mDragging && mRemoveMode == FLING_REMOVE) {
|
if (mRemoveEnabled && mDragging && mRemoveMode == FLING_REMOVE) {
|
||||||
mFlingRemoveDetector.onTouchEvent(ev);
|
mFlingRemoveDetector.onTouchEvent(ev);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user