Example usage for Java android.widget CompoundButton fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
boolean | isChecked() |
void | setChecked(boolean checked) Changes the checked state of this button. |
void | setOnCheckedChangeListener(@Nullable OnCheckedChangeListener listener) Register a callback to be invoked when the checked state of this button changes. |
void | toggle() |
String | toString() Returns a string representation of the object. |