Can ajax call be done in Android?

前端 未结 4 386
栀梦
栀梦 2020-12-11 03:51

I\'m developing an application in which I\'ve got search option. In that search box, if I type \'a\' I want all names of all my friends starting with a, which I\'ll get from

4条回答
  •  一整个雨季
    2020-12-11 04:06

    Fetch names from the server on loading the screen, using asynctask. Then you can make use of AutoCompleteTextView or MultiAutoCompleteTextView to achieve your need.

    You specify already fetched names in the adapter. See more on AutoCompleteTextView

    and MultiAutoCompleteTextView

提交回复
热议问题