# Print output for @column tags ?> Checkable - Android SDK | Android Developers

Most visited


Recently visited


Checkable

public interface Checkable

android.widget.Checkable


Defines an extension for views that make them checkable.

Summary


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 methods


isChecked

public abstract boolean isChecked ()

Returns
boolean The current checked state of the view

setChecked

public abstract void setChecked (boolean checked)

Change the checked state of the view

Parameters
checked boolean: The new checked state

toggle

public abstract void toggle ()

Change the checked state of the view to the inverse of its current state

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.