@ Override public void onViewDetachedFromWindow ( RecyclerView . ViewHolder viewHolder , int position ) { IItem item = FastAdapter . getHolderAdapterItemTag ( viewHolder ) ; if ( item != null ) { item . detachFromWindow ( viewHolder ) ; if ( viewHolder instanceof FastAdapter . ViewHolder ) { ( ( FastAdapter . ViewHolder ) viewHolder ) . detachFromWindow ( item ) ; } } }
is called in onViewDetachedFromWindow when the view is detached from the window