void function ( View arg0 , int arg1 ) { int loc0 = wheel . getViewAdapter ( ) . getItemsCount ( ) ; if ( ( arg1 < 0 || arg1 >= loc0 ) && ! wheel . isCyclic ( ) ) { emptyItems = addView ( arg0 , emptyItems ) ; } else { while ( arg1 < 0 ) { arg1 = loc0 + arg1 ; } arg1 %= loc0 ; items = addView ( arg0 , items ) ; } }
adds view to cache . determines view type item view or empty one by index . concode_field_sep WheelView wheel concode_elem_sep List<View> emptyItems concode_elem_sep List<View> items concode_field_sep int recycleItems concode_elem_sep View getCachedView concode_elem_sep View getItem concode_elem_sep List<View> addView concode_elem_sep void clearAll concode_elem_sep View getEmptyItem