[android-components](../../../index.md) / [mozilla.components.feature.prompts.login](../../index.md) / [LoginPickerView](../index.md) / [Listener](index.md) / [onLoginSelected](./on-login-selected.md)

# onLoginSelected

`abstract fun onLoginSelected(login: `[`Login`](../../../mozilla.components.concept.storage/-login/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/prompts/src/main/java/mozilla/components/feature/prompts/login/LoginPickerView.kt#L48)

Called when a user selects a login to fill from the options.

