code: public void onViewRecycled(@NonNull RecyclerView.ViewHolder holder) {
          AdapterDelegate<T> delegate = getDelegateForViewType(holder.getItemViewType());
          if (delegate == null) {
              throw new NullPointerException("No delegate found for "
                      + holder
                      + " for item at position = "
                      + holder.getAdapterPosition()
                      + " for viewType = "
                      + holder.getItemViewType());
          }
          delegate.onViewRecycled(holder);
      }
docs: Must be called from {@link RecyclerView.Adapter#onViewRecycled(RecyclerView.ViewHolder)}
  
  @param holder The ViewHolder for the view being recycled