android - Searchview using shared preferences -


here link implement searchview in action bar android. http://www.android86.com/android-advanced/action-bar-search-view/

according above example i've implemented action bar search view. once user starts typing inside search bar want provide him "suggestions". these suggestions should available array list i've retrieved via shared pref. how should implement this?

you can't show search suggestions arraylist directly. have user content provider. see the docs


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

Error while updating a record in APEX screen -

python - How to get a widget position inside it's layout in Kivy? -