code: protected void performDismiss(@NonNull final View view, final int position) {
          mDismissedViews.add(view);
          mDismissedPositions.add(position);
  
          ValueAnimator animator = ValueAnimator.ofInt(view.getHeight(), 1).setDuration(mDismissAnimationTime);
          animator.addUpdateListener(new DismissAnimatorUpdateListener(view));
          animator.addListener(new DismissAnimatorListener());
          animator.start();
  
          mActiveDismissCount++;
      }
docs: Animates the dismissed list item to zero-height and fires the dismiss callback when all dismissed list item animations have completed.
  
  @param view the dismissed {@link android.view.View}.