How can I build a search bar where while I\'m typing the results are shown in the ListView in which I\'m searching?
For example, I have a list view with
The best way is to use the built in search bar or SearchManager by overriding onSearchRequested in a searchable activity. You can set a datasource to search on to get the automatic drop down of results or you can just take in the input from the user and search after. Here is a good overview of SearchManager is a Plus there is a working demo in the API Demos project com.example.android.apis.app.SearchQueryResult
@Override
public boolean onSearchRequested() {