onCheckedChanged

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

Handles check state changes for compound buttons (bold, italic).

Parameters

buttonView

The compound button whose state has changed.

isChecked

The new checked state of the button.


open fun onCheckedChanged(group: RadioGroup, checkedId: Int)

Handles radio button selection changes for text alignment options.

Parameters

group

The radio group containing the selected button.

checkedId

The resource ID of the selected radio button.