I don't think that contact listview is better because it's juste a
search about one letter but i know tuto of autocomplet search. Check
that it may interess you
(and if you want i can see your code)

the tuto:
http://android-france.fr/2009/04/15/developpez-une-application-pour-android-etape-9-recherche-d%E2%80%99une-recette-avec-autocompletion/

On 2 sep, 10:24, manigault <[email protected]> wrote:
> I have a listview with cursor adapter and i want to be able to search
> in the list view. I implemented my own search : i implement
> TextWatcher interface and when the text is changed i make a new query
> to the db to obtain a new cursor and than refresh the listview content
> it works but it is too slow and its not the android way :). There is
> also another way to implement Filtarable in the adapter for the
> listview on than setTextFilterEnabled(true) but i think the
> performance will be the same. So the question is what is the best way
> to implement search for a listview and can i use the default search
> ( in contacts listview for example with the scrollbar that shows the
> letter)
> Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to