void onRadioToggle ( int index ) { for ( int i = 0 ; i < getChildCount ( ) ; i ++ ) { if ( i != index ) { BootstrapButton b = retrieveButtonChild ( i ) ; b . setSelected ( false ) ; } } }
Used for Radio Group Mode - resets all children to an unselected state apart from the calling Button .