@Override public void onDetachedFromRecyclerView(RecyclerView recyclerView){
  super.onDetachedFromRecyclerView(recyclerView);
  mAttachedRecyclerViewPool.remove(recyclerView);
}

@ Override public void onDetachedFromRecyclerView ( RecyclerView recyclerView ) { super . onDetachedFromRecyclerView ( recyclerView ) ; mAttachedRecyclerViewPool . remove ( recyclerView ) ; }
implementation of adapter . ondetachedfromrecyclerview ( recyclerview ) < p > called when this expandablerecycleradapter is detached from a recyclerview .
