public SimpleDialog items ( CharSequence [ ] items , int selectedIndex ) { if ( mListView == null ) initListView ( ) ; mMode = MODE_ITEMS ; mAdapter . setItems ( items , selectedIndex ) ; super . contentView ( mListView ) ; return this ; }
Set the list of items in single - choice mode .