code: private void removeKeys(List<Integer> keysToRemove, SparseArrayCompat<ViewHolder> headers) {
          for (Integer key : keysToRemove) {
              headers.remove(key);
          }
      }
docs: Remove recycled viewholders from sparseArray
  
  @param keysToRemove List of ViewHolders keys that we need to remove
  @param headers      SparseArray of viewHolders from where we need to remove