android-components / mozilla.components.feature.toolbar / ToolbarInteractor

# ToolbarInteractor

`class ToolbarInteractor` (source)

Connects a toolbar instance to the browser engine via use cases

### Constructors

<init> | `ToolbarInteractor(toolbar: Toolbar, loadUrlUseCase: LoadUrlUseCase, searchUseCase: SearchUseCase? = null)` Connects a toolbar instance to the browser engine via use cases

### Functions

start | `fun start(): Unit` Starts this interactor. Makes sure this interactor is listening to relevant UI changes and triggers the corresponding use-cases in response.
stop | `fun stop(): Unit` Stops this interactor.