onCheckedStateChangedListener

abstract fun onCheckedStateChangedListener(@NonNull checkBox: MaterialCheckBox, state: Int)

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

Parameters

checkBox
state

the new state of the checkbox