Reputation: 5198
I have an app in android that handles reporting about classes taken.
I have a edittext that is for entering the teacher's name, but there is a possibilty that there are more then one teacher.
I want to put all the names in the same edittext, similar to how its on gamil -
where you send a mail in gmail, you can enter multiple addresses (multiple values).
Best would be to have an autocompletetextview that will enalbe multiple names (values) in it, and the user can choose between pre-defined name options.
any ideas??
thnaks
Upvotes: 0
Views: 953
Reputation: 3417
Yes there is something you need.
You can use MultiAutoCompleteTextView from android widgets.
but here is more customizable version of it check this link TokenAutoCompleteTextView
It is same like gmail bubbles.It extends MultiAutoCompleteTextView from android widgets.
Hope it will help.Thanks
Upvotes: 1