The only way I have gotten around this, is by taking my list of maps
and creating a new simple adapter. Then I have to set the ListView's
adapter to this new SimpleAdapter instance. This seems really
wasteful, but it works. Why is this like this?

On Aug 16, 3:53 pm, Greg Giacovelli <miyamo...@gmail.com> wrote:
> So I was playing around with a ListView backed by a SimpleAdapter
> who's data is loaded via an async task. Now I can refill this adapter
> and use the notifyDataSetChanged methods to update the listView to
> display the correct contents. Ok that's cool. But then when I try to
> filter the results based on keyboard input is where it gets a little
> messy. Basically looking at the source, the internal SimpleFilter
> seems that when making a copy will replace the mData value with the
> copied list, making it impossible to update that Adapter's contents.
> Is this intentional? Are filters only meant to work across static
> lists or is this a bug?

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to