question: private ArrayList < SpinnerLanguageElement > createSpinnerLanguages ( int avoidLanguage ) { ArrayList < SpinnerLanguageElement > result = new ArrayList < SpinnerLanguageElement > ( ) ; List < String > languages = mSessionOptions . allLanguages ( ) ; for ( int i = 0 ; i < languages . size ( ) ; ++ i ) { if ( i != avoidLanguage ) { result . add ( new SpinnerLanguageElement ( languages . get ( i ) , i ) ) ; } } return result ; }
target:  Determines what languages will be shown in the Spinner.