Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Displaying AutoCompleteTextView drop down results

$
0
0

In Xamarin, when I have an AutoCompleteTextViewor a MultiAutoCompleteTextViewwith a drop down list, can the search be done for string occurances that appear halfway through the string item?

For example, if I have the following string array:

String[] countries = new string[] { "Item1", "Item2", "Item3", "Item4", "Item5" };

And I type "Ite" into the AutoCompleteTextViewor a MultiAutoCompleteTextView, all the items above will display.

My question is in relation to the following string array:

String[] countries = new string[] { "1abcd", "2abdc", "1234", "Item42abcd", "Item5" };

Is it possible to type "abcd" into the AutoCompleteTextViewor a MultiAutoCompleteTextView, and the following will be displayed:

"1abcd", "2abdc", "Item42abcd"

Thanks in advance


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>