public List < String > getSelectedStrings ( ) { List < String > selection = new LinkedList < String > ( ) ; for ( int i = 0 ; i < mItems . length ; ++ i ) { if ( mSelection [ i ] ) { selection . add ( mItems [ i ] ) ; } } return selection ; }
Returns a list of strings one for each selected item .