开发者

Android - how can i make a list of matching items as an entry is typed in

开发者 https://www.devze.com 2023-03-28 13:02 出处:网络
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. B

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号