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

ToolbarAutocompleteFeature

class ToolbarAutocompleteFeature (source)

Feature implementation for connecting a toolbar with a list of autocomplete providers.

Constructors

Name Summary
<init> ToolbarAutocompleteFeature(toolbar: Toolbar)
Feature implementation for connecting a toolbar with a list of autocomplete providers.

Properties

Name Summary
toolbar val toolbar: Toolbar

Functions

Name Summary
addDomainProvider fun addDomainProvider(provider: DomainAutocompleteProvider): Unit
addHistoryStorageProvider fun addHistoryStorageProvider(provider: HistoryStorage): Unit

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.