0

How can i make an AutoCompletTextView to pass the text from a website and show me the results in ListView

1 Answers1

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