code: protected void finalizeDismiss() {
          if (mActiveDismissCount == 0 && getActiveSwipeCount() == 0) {
              restoreViewPresentations(mDismissedViews);
              notifyCallback(mDismissedPositions);
  
              mDismissedViews.clear();
              mDismissedPositions.clear();
          }
      }
docs: If necessary, notifies the {@link OnDismissCallback} to remove dismissed object from the adapter,
  and restores the {@link android.view.View} presentations.