lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/swipedismiss/SwipeTouchListener.java
private void restoreCurrentViewTranslation() {
        if (mCurrentView == null) {
            return;
        }

        ObjectAnimator xAnimator = ObjectAnimator.ofFloat(mSwipingView, TRANSLATION_X, 0);
        ObjectAnimator alphaAnimator = ObjectAnimator.ofFloat(mSwipingView, ALPHA, 1);

        AnimatorSet animatorSet = new AnimatorSet();
        animatorSet.playTogether(xAnimator, alphaAnimator);
        animatorSet.setDuration(mAnimationTime);
        animatorSet.addListener(new RestoreAnimatorListener(mCurrentView, mCurrentPosition));
        animatorSet.start();
    }
private void restoreCurrentViewTranslation() {
        if (mCurrentView == null) {
            return;
        }

        ObjectAnimator xAnimator = ObjectAnimator.ofFloat(mSwipingView, TRANSLATION_X, 0);
        ObjectAnimator alphaAnimator = ObjectAnimator.ofFloat(mSwipingView, ALPHA, 1);

        AnimatorSet animatorSet = new AnimatorSet();
        animatorSet.playTogether(xAnimator, alphaAnimator);
        animatorSet.setDuration(mAnimationTime);
        animatorSet.addListener(new RestoreAnimatorListener(mCurrentView, mCurrentPosition));
        animatorSet.start();
    }
private void restoreCurrentViewTranslation ( ) { if ( mCurrentView == null ) { return ; } ObjectAnimator xAnimator = ObjectAnimator . ofFloat ( mSwipingView , TRANSLATION_X , 0 ) ; ObjectAnimator alphaAnimator = ObjectAnimator . ofFloat ( mSwipingView , ALPHA , 1 ) ; AnimatorSet animatorSet = new AnimatorSet ( ) ; animatorSet . playTogether ( xAnimator , alphaAnimator ) ; animatorSet . setDuration ( mAnimationTime ) ; animatorSet . addListener ( new RestoreAnimatorListener ( mCurrentView , mCurrentPosition ) ) ; animatorSet . start ( ) ; }
Animates the pending {@link android.view.View} back to its original position.
Animates the pending {