MaterialCheckBox.OnCheckedStateChangedListener

public static interface MaterialCheckBox.OnCheckedStateChangedListener

com.google.android.material.checkbox.MaterialCheckBox.OnCheckedStateChangedListener


Callback interface invoked when one of three independent checkbox states change.

Summary

Public methods

abstract void onCheckedStateChangedListener(MaterialCheckBox checkBox, int state)

Called when the checked/indeterminate/unchecked state of a checkbox changes.

Public methods

onCheckedStateChangedListener

public abstract void onCheckedStateChangedListener (MaterialCheckBox checkBox, 
                int state)

Called when the checked/indeterminate/unchecked state of a checkbox changes.

Parameters
checkBox MaterialCheckBox: the MaterialCheckBox

state int: the new state of the checkbox