public void fillWithCheckState ( CompoundButton view ) { validateNotNullableView ( view ) ; validateIfIsACompoundButton ( view ) ; view . setChecked ( new Random ( ) . nextBoolean ( ) ) ; }
Set a random check or uncheck state