android-components / mozilla.components.ui.autocomplete / AutocompleteView


interface AutocompleteView (source)

Aids in testing functionality which relies on some aspects of InlineAutocompleteEditText.


Name Summary
originalText abstract val originalText: String
Current text.


Name Summary
applyAutocompleteResult abstract fun applyAutocompleteResult(result: AutocompleteResult): Unit
Apply provided result autocomplete result.
noAutocompleteResult abstract fun noAutocompleteResult(): Unit
Notify that there is no autocomplete result available.

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.


Name Summary
InlineAutocompleteEditText open class InlineAutocompleteEditText : AppCompatEditText, AutocompleteView
A UI edit text component which supports inline autocompletion.