android - updating string list while typing in textview -


I need a list of strings that can be read from the server, in order to find tips in the autocompleteextext in that list The adapter will be given while the user is typing. To easily see how to use a textinelinster:

  TextWatcher tw = new textworther () {@ Overwrite public zero before @TextChanged (foursquences, int start, int count, Int] {// Todo auto-generated method stub} {// Todo auto-generated method stub} override {@TextChanged (on variables, int start, int int, int count) // TODO automatically generated method Stub} @TextChanged (editable) {// Override Public Zero} Todo Self Tip: Generate method stub toast. Make text (getBaseContext), "text has changed!", Toast. LNNHHLANG). Show (); // getlist () & lt; - It calls an AsyncTask example}};  

As expected, when I type into a QWERTY keyboard, a key is pressed each time and it is OK. But what if the user has a soft keyboard, you have to press a key or two or three times to write a specific key, for example, if you want 'C', you have to press the key '2' three times I tried the above code and clearly showed the message three times but for each newly submitted letter only once is necessary, remember that in the end it has been commented An asyncaskask object will work there and it is a work to use electricity. Some advice?


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -