onCheckedChanged

open fun onCheckedChanged(buttonView: CompoundButton, isChecked: Boolean)

Called when the checked state of a compound button has changed.

Parameters

buttonView

The compound button view whose state has changed.

isChecked

The new checked state of buttonView.