I suggest some methods
1) If you want to do a βtestβ as a textView autocomplete hint, then do it,
txtField1.setHint("test");
2) If you need to fill out the text representation of "test", and also not allow the sentence to increase the threshold level for automatic completion of text viewing,
txtField1.setThreshold(5);
if you use a threshold, it will show a sentence after 5 characters (according to the code indicated in the line above). If you need to try to set another word, and also try to avoid the sentence, change the threshold dynamically based on the length of the string.
Karthi
source share