[android-components](../../index.md) / [mozilla.components.feature.prompts](../index.md) / [ColorItem](index.md) / [selected](./selected.md)

# selected

`val selected: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/prompts/src/main/java/mozilla/components/feature/prompts/BasicColorAdapter.kt#L38)

if true, this is the color that will be set when the dialog is closed.

### Property

`selected` - if true, this is the color that will be set when the dialog is closed.