[android-components](../../index.md) / [mozilla.components.browser.menu.item](../index.md) / [BackPressMenuItem](index.md) / [bind](./bind.md)

# bind

`fun bind(menu: `[`BrowserMenu`](../../mozilla.components.browser.menu/-browser-menu/index.md)`, view: <ERROR CLASS>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/menu/src/main/java/mozilla/components/browser/menu/item/BackPressMenuItem.kt#L31)

Overrides [BrowserMenuImageText.bind](../-browser-menu-image-text/bind.md)

Binds the view according to its super, but use [backPressListener](#) for on view clicks.

