AutoComplete for Xamarin.Android: Suggest Modes
RadAutoCompleteTextView has three different modes for providing suggestions, namely:
- Suggest
- Append
- SuggestAppend
The suggest mode can be changed with the SuggestionMode
property of the AutoCompleteTextView. The default value is SuggestMode.Suggest
.
this.autocomplete.SuggestMode = SuggestMode.Suggest;
Suggest Mode
In SuggestMode.Suggest
the autocomplete represents the filtered suggestions, matching the typed text, in a pop-up view, which contains list of the suggestions.
Append Mode
In SuggestMode.Append
mode the autocomplete shows only the first suggestion matching the typed text, which is represented as direct suffix of the typed text.
SuggestAppend Mode
In SuggestMode.SuggestAppend
mode the autocomplete combines both upper-mentioned modes. It shows all matching suggestions in a pop-up view and the first of them is appended to the typed text.