示例#1
0
 /*
  * @see android.widget.Checkable#toggle()
  */
 public void toggle() {
   this.isChecked = !this.isChecked;
   for (Checkable c : checkableViews) {
     c.toggle();
   }
   refreshDrawableState();
 }
 @Override
 public void toggle() {
   View child = getChildAt(0);
   if (child instanceof Checkable) ((Checkable) child).toggle();
 }
 @Override
 public void toggle() {
   child.toggle();
 }