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