@ SuppressWarnings ( { "unchecked" , "rawtypes" } ) public T adapter ( Adapter adapter ) { if ( view instanceof AdapterView ) { AdapterView av = ( AdapterView ) view ; av . setAdapter ( adapter ) ; } return self ( ) ; }
Set the adapter of an AdapterView .