In order to implement a synchronous server calling within the filter, an autocomplete text view is being used. The web service is hit with each character typed in an Autocomplete list. To have data dynamically put into the list, we can make a customized adapter. I have implemented this by making an adapter to implement a filterable interface.
For getting data from the server, two approaches can be used: