MaterialButton.OnCheckedChangeListener
public
static
interface
MaterialButton.OnCheckedChangeListener
com.google.android.material.button.MaterialButton.OnCheckedChangeListener |
Interface definition for a callback to be invoked when the button checked state changes.
Summary
Public methods | |
---|---|
abstract
void
|
onCheckedChanged(MaterialButton button, boolean isChecked)
Called when the checked state of a MaterialButton has changed. |
Public methods
onCheckedChanged
public abstract void onCheckedChanged (MaterialButton button, boolean isChecked)
Called when the checked state of a MaterialButton has changed.
Parameters | |
---|---|
button |
MaterialButton : The MaterialButton whose state has changed. |
isChecked |
boolean : The new checked state of MaterialButton.
|