[android-components](../../index.md) / [mozilla.components.browser.awesomebar](../index.md) / [BrowserAwesomeBar](index.md) / [setOnEditSuggestionListener](./set-on-edit-suggestion-listener.md)

# setOnEditSuggestionListener

`fun setOnEditSuggestionListener(listener: (`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`) -> `[`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#L219)

Overrides [AwesomeBar.setOnEditSuggestionListener](../../mozilla.components.concept.awesomebar/-awesome-bar/set-on-edit-suggestion-listener.md)

Adds a lambda to be invoked when the user selected a suggestion to be edited further.

