app/src/main/java/com/my/dn/multitouch/CanvasNodeLongTouchListener.java
/**
     * Add long press event handler.
     */
Add long press event handler.
Add long press event handler .
private void addLongPressCallback() {
        if (!mLongPressThread.mAdded) {
            mLongPressThread.mLongPressing = false;
            mHandler.postDelayed(mLongPressThread, mPressTimeThreshold);
            mLongPressThread.mAdded = true;
        }
    }
private void addLongPressCallback ( ) { if ( ! mLongPressThread . mAdded ) { mLongPressThread . mLongPressing = false ; mHandler . postDelayed ( mLongPressThread , mPressTimeThreshold ) ; mLongPressThread . mAdded = true ; } }
Add long press event handler.
Add long press event handler .