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

# setOnStopListener

`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/browser/awesomebar/src/main/java/mozilla/components/browser/awesomebar/BrowserAwesomeBar.kt#L190)

Overrides [AwesomeBar.setOnStopListener](../../mozilla.components.concept.awesomebar/-awesome-bar/set-on-stop-listener.md)

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

