How can i make an AutoCompletTextView
to pass the text from a website and show me the results in ListView
Asked
Active
Viewed 117 times
0
1 Answers
0
After parsing the webservice data you will get results into an array.
Let's say you are getting result into array named resultData
then use below code.
arrayAdapter = new ArrayAdapter<String>(viewAutoComplete,
android.R.layout.simple_list_item_1, resultData);
autoCompleteText.setAdapter(arrayAdapter);

Ketan Ahir
- 6,678
- 1
- 23
- 45
-
Always Welcome Dear !! – Ketan Ahir Sep 13 '13 at 08:48