0

I need to do filter in text change and getting data from API , means on each text change it is calling API.

I just want to know how can I optimism this with minimum no. of API calls. Please suggest me the best way to achieve this.

Thanks

Jogendra Gouda
  • 405
  • 4
  • 17
  • if you need it for some list oriented view (`ListView`, `AutoCompleteTextView`) then read `android.widget.Filter` class documentation – pskink Feb 27 '16 at 12:20
  • Thank you Sir, for quick replay. But I need to do it with list view and need to call API for data on text change. Please guide me... – Jogendra Gouda Feb 27 '16 at 12:54
  • see http://stackoverflow.com/a/19860624/2252830 – pskink Feb 27 '16 at 13:03

0 Answers0