Android - how can i make a list of matching items as an entry is typed in
I'm 开发者_如何学Govery new to programming, so be gentle.
My goal is to make a simple app that as you type in a search term, it will list all entries from a database that start with those letters. Basically it's a listing of all auto-complete options that fit what has been typed in so far from a database of words.
I'm just trying to get an idea as to how to approach this task. Any helpful code would be much appreciated! Thanks!
Android has that all worked out. You want to use the AutoCompleteTextView.
Here is Android's tutorial to get you started with their AutoCompleteTextView.
精彩评论