StoresAutocompleteTextView

An editable text view that shows completion suggestions automatically while the user is typing. The list of suggestions is displayed in a drop down menu from which the user can choose an item to replace the content of the edit box with.

The drop down can be dismissed at any time by pressing the back key or, if no item is selected in the drop down, by pressing the enter/dpad center key.

The list of suggestions is obtained from a StoresAdapter and appears only after a given number of characters defined by the threshold.

Constructors

Link copied to clipboard
constructor(context: Context)
constructor(context: Context, attrs: AttributeSet)
constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int)
constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int, defStyleRes: Int, popupTheme: Resources.Theme)

Properties

Link copied to clipboard

Sets the listener that will be notified when the user clicks an autocomplete result in the drop down list.