[android-components](../../index.md) / [mozilla.components.feature.addons.ui](../index.md) / [AddonInstallationDialogFragment](index.md) / [onConfirmButtonClicked](./on-confirm-button-clicked.md)

# onConfirmButtonClicked

`var onConfirmButtonClicked: (`[`Addon`](../../mozilla.components.feature.addons/-addon/index.md)`, `[`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/feature/addons/src/main/java/mozilla/components/feature/addons/ui/AddonInstallationDialogFragment.kt#L59)

A lambda called when the confirm button is clicked.

