Added in API level 1
    Checkable
interface Checkable
| android.widget.Checkable | 
Defines an extension for views that make them checkable.
Summary
| Public methods | |
|---|---|
| abstract Boolean | |
| abstract Unit | 
            setChecked(checked: Boolean)Change the checked state of the view  | 
        
| abstract Unit | 
            toggle()Change the checked state of the view to the inverse of its current state  | 
        
Public methods
isChecked
Added in API level 1
      abstract fun isChecked(): Boolean
| Return | |
|---|---|
Boolean | 
            The current checked state of the view | 
setChecked
Added in API level 1
      abstract fun setChecked(checked: Boolean): Unit
Change the checked state of the view
| Parameters | |
|---|---|
checked | 
            Boolean: The new checked state | 
toggle
Added in API level 1
      abstract fun toggle(): Unit
Change the checked state of the view to the inverse of its current state