[android-components](../../index.md) / [mozilla.components.browser.menu2.candidate](../index.md) / [CompoundMenuCandidate](index.md) / [onCheckedChange](./on-checked-change.md)

# onCheckedChange

`val onCheckedChange: (`[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/menu2/src/main/java/mozilla/components/browser/menu2/candidate/MenuCandidate.kt#L69)

Listener called when this menu option is checked or unchecked.

### Property

`onCheckedChange` - Listener called when this menu option is checked or unchecked.