# Print output for @column tags ?>
public
interface
Checkable
| android.widget.Checkable |
Defines an extension for views that make them checkable.
Public methods | |
|---|---|
abstract
boolean
|
isChecked()
|
abstract
void
|
setChecked(boolean checked)
Change the checked state of the view |
abstract
void
|
toggle()
Change the checked state of the view to the inverse of its current state |
public abstract boolean isChecked ()
| Returns | |
|---|---|
boolean |
The current checked state of the view |
public abstract void setChecked (boolean checked)
Change the checked state of the view
| Parameters | |
|---|---|
checked |
boolean: The new checked state |
public abstract void toggle ()
Change the checked state of the view to the inverse of its current state