question: public void reclaimViews ( List < View > views ) { int childCount = getChildCount ( ) ; RecyclerListener listener = mRecycler . mRecyclerListener ; for ( int i = 0 ; i < childCount ; i ++ ) { View child = getChildAt ( i ) ; TwoWayAbsListView . LayoutParams lp = ( TwoWayAbsListView . LayoutParams ) child . getLayoutParams ( ) ; if ( lp != null && mRecycler . shouldRecycleViewType ( lp . viewType ) ) { views . add ( child ) ; if ( listener != null ) { listener . onMovedToScrapHeap ( child ) ; } } } mRecycler . reclaimScrapViews ( views ) ; removeAllViewsInLayout ( ) ; }
target:  Move all views (excluding headers and footers) held by this TwoWayAbsListView into the supplied List. This includes views displayed on the screen as well as views stored in TwoWayAbsListView's internal view recycler.