code: @Override
      protected void performDismiss(@NonNull final View view, final int position) {
          super.performDismiss(view, position);
  
          mDismissedViews.add(view);
          mDismissedPositions.add(position);
  
          mCallback.onDismiss(view, position);
      }
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}.