code: @Override
      @UiThread
      public void onDetachedFromRecyclerView(@NonNull RecyclerView recyclerView) {
          super.onDetachedFromRecyclerView(recyclerView);
          mAttachedRecyclerViewPool.remove(recyclerView);
      }
docs: Implementation of Adapter.onDetachedFromRecyclerView(RecyclerView)
  <p>
  Called when this ExpandableRecyclerAdapter is detached from a RecyclerView.
  
  @param recyclerView The {@code RecyclerView} this {@code ExpandableRecyclerAdapter}
  is being detached from