How to do a search with SearchWidget
I have already set up the search widget on the action bar as per
viperbone's answer on How to add a SearchWidget to the ActionBar?, however
I don't know what to put in the Search class to process the query.
All the items I want to search are in a simple ArrayList of Strings. I can
handle the comparator, I just don't know how to pass the ArrayList and the
query to the class to process it.
Please don't send me links, especially to the Android Developer site,
because it is VERY confusing to me. I would really appreciate it if you
could write some code for me to use specific to my situation.
Thanks in advance
No comments:
Post a Comment