public void animateViewIfNecessary(final int position, @NonNull final View view, @NonNull final Animator[] animators) {
        if (mShouldAnimate && position > mLastAnimatedPosition) {
            if (mFirstAnimatedPosition == -1) {
                mFirstAnimatedPosition = position;
            }

            animateView(position, view, animators);
            mLastAnimatedPosition = position;
        }
    }
public void animateViewIfNecessary(final int position, @NonNull final View view, @NonNull final Animator[] animators) {
        if (mShouldAnimate && position > mLastAnimatedPosition) {
            if (mFirstAnimatedPosition == -1) {
                mFirstAnimatedPosition = position;
            }

            animateView(position, view, animators);
            mLastAnimatedPosition = position;
        }
    }
public void animateViewIfNecessary ( final int position , @ NonNull final View view , @ NonNull final Animator [ ] animators ) { if ( mShouldAnimate && position > mLastAnimatedPosition ) { if ( mFirstAnimatedPosition == - 1 ) { mFirstAnimatedPosition = position ; } animateView ( position , view , animators ) ; mLastAnimatedPosition = position ; } }
Animates given View if necessary.

@param position the position of the item the View represents.
@param view     the View that should be animated.
Animates given View if necessary .