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


interface AutocompleteDelegate (source)

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


Name Summary
applyAutocompleteResult abstract fun applyAutocompleteResult(result: AutocompleteResult, onApplied: () -> Unit = { }): 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.