========================================================== =============================== Original blog, reprinted please declare the source of Electronic coffee (original id blue rock) ========================================================== ================================
I have been confused for a long time, but it's Google and Baidu. I finally found the multiautocompletetextview and autocompletetextview, but they are different,
The following is a comparison between the two.
As you can see, autocompletetextview can only enter one text box, while multiautocompletetextview can enter multiple words, and the separators in the middle are set in the code,
Edit1 = (multiautocompletetextview) findviewbyid (R. Id. edit1); edit1.settokenizer (New multiautocompletetextview. commatokenizer (); // set "," As Separator
For specific code usage, refer
Http://www.cnblogs.com/linjiqin/archive/2011/02/22/1960890.html