> Hello,
>
> what would be the best approach to use an ContentProvider and a
> AutoCompleteTextView ?
> Looks like i have to use the CursorAdapter ?
>
> regards,
> Jens
>
Yep.
It needs a ListAdapter that implements Filterable.
CursorAdapter satisfies those requirements, as does
ResourceCursorAdapter (one less method to override).
You will then need to either override runQueryOnBackgroundThread in the
adapter, or delegate through a FilterQueryProvider.
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment