seraphzero
seraphzero

Reputation: 163

Android: Autocomplete for multiple input

For my app, I'm trying to get the autocomplete suggestion box to pop up for multiple inputs in the textbox.

For example, let's say the input is "Alice, Bob, Charlie". The user begins to type in "Alice" and selects the name from the suggestions, updating the text view with "Alice, ". Then the user types in "Bob" and the suggestion box pops up again, so the user clicks the name and the text view updates to "Alice, Bob, ". And so on.

The default AutoCompleteTextView in Android doesn't seem to support that kind of functionality of having the suggestions box pop up for each input, only for the first input. How do I go about having the suggestion box pop up for each input?

Upvotes: 1

Views: 1066

Answers (1)

seraphzero
seraphzero

Reputation: 163

OK, I figured it out, had to use MultiAutoCompleteTextView instead of AutoCompleteTextView.

Upvotes: 3

Related Questions