[android-components](../../index.md) / [mozilla.components.concept.awesomebar](../index.md) / [AwesomeBar](index.md) / [setOnStopListener](./set-on-stop-listener.md)

# setOnStopListener

`abstract fun setOnStopListener(listener: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/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/concept/awesomebar/src/main/java/mozilla/components/concept/awesomebar/AwesomeBar.kt#L67)

Adds a lambda to be invoked when the user has finished interacting with the awesome bar (e.g. selected a
suggestion).

