how to remove text after create token in TokenAutoComplete in xamarin android

74 Views Asked by At

I won't remove text after creating token in TokenAutoComplete library in xamarin android.

bellow is my code

_searchView.Text= _searchView.Text.Replace(text, string.Empty);  
_searchView.PerformCompletion();
_searchView.AddObject(collaborator);

I also use below code

_searchView.ClearComposingText();
1

There are 1 best solutions below

0
Jessie Zhang -MSFT On

Do you want to clear the text of the AutoCompleteTextView? If yes, you can try the following code:

 _searchView.SetText("",false);