android-components / mozilla.components.concept.toolbar / AutocompleteDelegate

AutocompleteDelegate

interface AutocompleteDelegate (source)

Describes an object to which a AutocompleteResult may be applied. Usually, this will delegate to a specific text view.

Functions

Name Summary
applyAutocompleteResult abstract fun applyAutocompleteResult(result: AutocompleteResult): Unit
noAutocompleteResult abstract fun noAutocompleteResult(input: String): Unit
Autocompletion was invoked and no match was returned.

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.