[android-components](../../index.md) / [mozilla.components.browser.menu](../index.md) / [BrowserMenuItem](index.md) / [invalidate](./invalidate.md)

# invalidate

`open fun invalidate(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/BrowserMenuItem.kt#L33)

Called by the browser menu to update the displayed data of this item using the passed view.

