private boolean handleUpEvent() {
    """
	Handles the up event.
	<p/>
	Animates the hover drawable to its final position, and finalizes our drag properties when the animation has finished.
	Will also notify the {@link com.nhaarman.listviewanimations.itemmanipulation.dragdrop.OnItemMovedListener} set if applicable.
	
	@return {@code true} if the event was handled, {@code false} otherwise.
    """
        if (mMobileView == null) {
            return false;
        }
        assert mHoverDrawable != null;

        ValueAnimator valueAnimator = ValueAnimator.ofInt(mHoverDrawable.getTop(), (int) mMobileView.getY());
        SettleHoverDrawableAnimatorListener listener = new SettleHoverDrawableAnimatorListener(mHoverDrawable, mMobileView);
        valueAnimator.addUpdateListener(listener);
        valueAnimator.addListener(listener);
        valueAnimator.start();

        int newPosition = getPositionForId(mMobileItemId) - mWrapper.getHeaderViewsCount();
        if (mOriginalMobileItemPosition != newPosition && mOnItemMovedListener != null) {
            mOnItemMovedListener.onItemMoved(mOriginalMobileItemPosition, newPosition);
        }

        return true;
    }
private boolean handleUpEvent() {
        if (mMobileView == null) {
            return false;
        }
        assert mHoverDrawable != null;

        ValueAnimator valueAnimator = ValueAnimator.ofInt(mHoverDrawable.getTop(), (int) mMobileView.getY());
        SettleHoverDrawableAnimatorListener listener = new SettleHoverDrawableAnimatorListener(mHoverDrawable, mMobileView);
        valueAnimator.addUpdateListener(listener);
        valueAnimator.addListener(listener);
        valueAnimator.start();

        int newPosition = getPositionForId(mMobileItemId) - mWrapper.getHeaderViewsCount();
        if (mOriginalMobileItemPosition != newPosition && mOnItemMovedListener != null) {
            mOnItemMovedListener.onItemMoved(mOriginalMobileItemPosition, newPosition);
        }

        return true;
    }
private boolean handleUpEvent ( ) { if ( mMobileView == null ) { return false ; } assert mHoverDrawable != null ; ValueAnimator valueAnimator = ValueAnimator . ofInt ( mHoverDrawable . getTop ( ) , ( int ) mMobileView . getY ( ) ) ; SettleHoverDrawableAnimatorListener listener = new SettleHoverDrawableAnimatorListener ( mHoverDrawable , mMobileView ) ; valueAnimator . addUpdateListener ( listener ) ; valueAnimator . addListener ( listener ) ; valueAnimator . start ( ) ; int newPosition = getPositionForId ( mMobileItemId ) - mWrapper . getHeaderViewsCount ( ) ; if ( mOriginalMobileItemPosition != newPosition && mOnItemMovedListener != null ) { mOnItemMovedListener . onItemMoved ( mOriginalMobileItemPosition , newPosition ) ; } return true ; }
Handles the up event.
<p/>
Animates the hover drawable to its final position, and finalizes our drag properties when the animation has finished.
Will also notify the {@link com.nhaarman.listviewanimations.itemmanipulation.dragdrop.OnItemMovedListener} set if applicable.

@return {@code true} if the event was handled, {@code false} otherwise.
Handles the up event . <p / > Animates the hover drawable to its final position and finalizes our drag properties when the animation has finished . Will also notify the { @link com . nhaarman . listviewanimations . itemmanipulation . dragdrop . OnItemMovedListener } set if applicable .