Autofill Android server EditText from server

I want to implement an autocomplete mechanism for the EditText field, but the autocomplete list comes from the server. I looked at AutoCompleteTextView, but by default it only supports fixed rows.

I'm just talking about the user interface. I will send an HTTP request to my web server and return the JSON result. When I run the request and how to connect it to the user interface?

+5
source share
2 answers

I think you could use an AutoCompleteTextView, as in this example: http://developer.android.com/reference/android/widget/AutoCompleteTextView.html

... , , . :)

** EDIT: ** : AutoCompleteTextView -API?

+6

, . , -, HTTP-.

0

All Articles