Providing Search with SearchView (Android Development Patterns Ep 7)

j

by Kivi

}

06.10.2022



SearchView is the standard interface for providing in app search for your Android app. SearchView is available via AppCompat and available back to Android 2.1. You’ll be able to use a searchable configuration (http://developer.android.com/guide/topics/search/searchable-config.html) to extend your SearchView, easily adding features like voice search.

Consider storing your search data on a Full Text Search or FTS table: http://developer.android.com/training/search/search.html

Check out our training at http://developer.android.com/guide/topics/search/index.html and add to your SearchView with recent query suggestions (http://developer.android.com/guide/topics/search/adding-recent-query-suggestions.html) and custom query suggestions (
http://developer.android.com/guide/topics/search/adding-custom-suggestions.html)

#ui #ux #search #navigation

Subscribe to the Android Developers channel at http://goo.gl/GEh1ds

source

Kiviac.com is reader-supported. When you buy through links on our site, we may earn an affiliate commission.

Featured Articles

FOLLOW US

Comments

0 Comments

Related Posts

What if you made a jetpack using rifles?

What if you made a jetpack using rifles?

Get a copy of What If? 2 and Randall’s other books at: https://xkcd.com/books More serious answers to absurd questions at: https://what-if.xkcd.com/ This question comes from Rob, who asks: is it possible to build a jetpack using downward firing rifles? I was sort of...