Hi,

I solved the problem via checking the code of the
AutoCompleteTextView. After that I saw a similar question on
http://groups.google.com/group/android-developers/browse_thread/thread/d879c6ca98edd32c/5b47a272d27b9e83?#5b47a272d27b9e83,
the following code could be a tested solution for that thread also.

You can take a look at the sample code from
http://sacoskun.blogspot.com/2008/08/autocompletetextview-with-simpleadapter.html.

Regards,
sacoskun

On Aug 29, 2:25 am, sacoskun <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am using AutoCompleteTextView with my custom adapter which
> implements Filterable.
>
> On the getFilter() method, I am able create a new Filter instance and
> override performFiltering() method to find the matched results.
> Inside performFiltering all the matched results are added into
> FilterResults as values(ArrayList<HashMap<String, String>>) and
> returned back.
>
> When I move to publishResults() method, I cannot populate the
> FilterResults for user and letting him/her pick one fromt the filtered
> results.
>
> I try the notifyDataSetChanged() method inside publishResults()
> method, but does the dataset change?
>
> I could not find enough documentation on this issue, any help would be
> appreciated.
>
> Regards,
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to