Java android.widget CompoundButton fields, constructors, methods, implement or subclass

Example usage for Java android.widget CompoundButton fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.widget CompoundButton.

The text is from its open source code.

Subclass

android.widget.CompoundButton has subclasses.
Click this link to see all its subclasses.

Method

booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
booleanisChecked()
voidsetChecked(boolean checked)

Changes the checked state of this button.

voidsetOnCheckedChangeListener(@Nullable OnCheckedChangeListener listener)
Register a callback to be invoked when the checked state of this button changes.
voidtoggle()
StringtoString()
Returns a string representation of the object.