The method onActionUp of AdaptiveTableLayout will be triggered whenever touchUp happens. May the method content be wrapped with 'if(mState.isDragging())'?
code line 1383,like
@Override
public boolean onActionUp(MotionEvent e) {
if(mState.isDragging()){
// remove shadows from dragging views
mShadowHelper.removeAllDragAndDropShadows(this);
// stop smooth scrolling
if (!mScrollerDragAndDropRunnable.isFinished()) {
mScrollerDragAndDropRunnable.stop();
}
........
}
return true;
}
The method onActionUp of AdaptiveTableLayout will be triggered whenever touchUp happens. May the method content be wrapped with 'if(mState.isDragging())'? code line 1383,like