toggles the selected state for the given item . concode_field_sep Set<E> mSelectedItems concode_elem_sep ObserverList<SelectionObserver<E>> mObservers concode_field_sep boolean isItemSelected concode_elem_sep void addObserver concode_elem_sep boolean isSelectionEnabled concode_elem_sep List<E> getSelectedItems concode_elem_sep void clearSelection concode_elem_sep void removeObserver concode_elem_sep void onSelectionStateChange concode_elem_sep void notifyObservers
boolean function ( E arg0 ) { if ( mSelectedItems . contains ( arg0 ) ) mSelectedItems . remove ( arg0 ) ; else mSelectedItems . add ( arg0 ) ; notifyObservers ( ) ; return isItemSelected ( arg0 ) ; }