Questions tagged [multiautocompletetextview]

An auto-complete textview which supports multiple strings, usually separated by a comma.

In the "To" field of an email composer, multiple emails could be separated by commas, while the user receives auto suggestions for each email being typed.

95 questions
66
votes
4 answers

Difference between MultiAutoCompleteTextView and AutoCompleteTextView

Can someone explain the difference between MultiAutoCompleteTextView and AutoCompleteTextView?
20
votes
4 answers

How to replace the comma with a space when I use the "MultiAutoCompleteTextView"

I'm doing a simple program using MultiAutoCompleteTextView to prompt the common words when I input several letters. code: ArrayAdapter adapter = new ArrayAdapter( this, …
huaigu
  • 557
  • 3
  • 5
  • 9
12
votes
2 answers

How to customize the "chips" auto-suggesting mechanism, as used on Gmail's recipients field?

Background I've searched for a way to have a similar look & feel to the Gmail receipients field, which allows auto-filling of items in a really cool way: The class that is built into the Android framework and is responsible for this is called…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
10
votes
3 answers

How do I get MultiAutoCompleteTextView tokenizer similar to Facebook app?

I am creating an application which has a 'To' field just like in Facebook app's "New Message" feature. After selecting an item from the drop down list, I create an imagespan and add it to the MultiAutoCompleteTextView. I have used SpaceTokenizer for…
7
votes
2 answers

Android AutoCompleteTextView with '@' mentions filtering like twitter and facebook

I have a requirement for implementing an edit text that the user can type in a anything but when they type in a new word that starts with '@' the autocomplete should start showing potential users. I understand how to use the AutoCompleteTextView…
4
votes
0 answers

How to show copy-paste options (Context menu) for MultiAutoCompleteTextView on button click?

I am trying to show context menu (copy-paste options) for MultiAutoCompleteTextView when clicked on button. Here is what I have tried but did not work. mButton.setOnLongClickListener(new OnLongClickListener() { @Override public…
4
votes
1 answer

MultiAutoCompleteTextView doesn't show results

I have this code on my activity: ParseQuery query = ParseUser.getQuery(); query.findInBackground(new FindCallback() { public void done(List userList, ParseException e) { if (e == null) { …
4
votes
1 answer

Auto-correction does not work with autocompletetextview?

It seems like there is no way to enable auto-correction with the autocompletetextview and the multiautocompletetextview in Android. Auto-correction works perfectly with the standard EditText. As soon as an Autocompletetextview or a…
Joseph Lam
  • 5,289
  • 3
  • 14
  • 13
3
votes
0 answers

Deleting Entire word in a MultiAutoCompleteTextview

I want to delete entire word in a string.But my requirement is different. I want to do like whats app group contacts tagging delete. Here I have one time line page like facebook, whenever the user clicks an option to edit the post we can get that…
Yamuna
  • 157
  • 2
  • 15
3
votes
1 answer

remove item from the list in multi-AutoCompleteTextView after selecting specific item

How can I remove item from the list in multi-autocompleteTextview .SO if I have selected the item at position 1 in the adapter then I should delete it so that same item should never be allowed to select again. Reference link…
jason
  • 3,932
  • 11
  • 52
  • 123
3
votes
0 answers

How to limit MultiAutoCompleteTextView items/inputs

I have MultiAutoCompleteTextView use for selecting multiple recipient in a messaging app but I just want to limit it only to two recipient or 3. User should not be able to add more recipient once the limit is reached. Any hints how to do that?…
mboy
  • 744
  • 7
  • 17
3
votes
0 answers

Update MultiAutoCompleteTextView dropdown android

I want to implement a user tagging feature in my android application. I want the same functionality that Facebook has with user tags in comments. For that I implemented a Custom MultiAutoCompleteTextView in my app, and I also wanted to display both…
3
votes
1 answer

How to find original position of item in ArrayList which is suggested in MultiAutoCompleteTextView?

I applied auto suggest operation on arraylist through MultiAutoCompleteTextView. When I click on suggested list I get the position of item as per suggested list but I want position of item as per items saved in arraylist. One way to get the position…
Tushar189
  • 346
  • 1
  • 11
2
votes
1 answer

How to make a custom MultiAutoCompleteTextView inside a Material TextInputLayout?

I want to customize a MultiAutoCompleteTextView, which will be placed inside a TextInputLayout in order to use Material, for the sake of reusability and updatability to the underlying code. I have yet to start and I already have problems with it…
2
votes
0 answers

MultiAutoCompleteTextView deleting entire word on backspace

On a MultiAutoCompleteTextView in android I am able to add entries and parse them just fine. After auto completing the most recent item, when I press backspace it will delete all the characters before I autocomplete, but I want to delete character…
1
2 3 4 5 6 7