Hi All,

I have a listactivity as a startup screen in my application. Which is
displaying database records using custom cursor adapter. On create I
set the filterable flag - getListView().setTextFilterEnabled(true)

My cursoradapter overrides runQueryOnBackgroundThread which runs
corresponding query. The problem is that after typing some text and
hitting enter, runQueryOnBackgroundThread never gets called. However,
when the item click in the same view launches another activity(detail
view of the record) and I come back to the original list activity,
hitting back button, then text filtering works just fine.
I don't call setTextFilterEnabled anywhere except during the
initialization process and I can't really find any other API affecting
this behavior, so any guesses why text filtering doesn't work
initially, but all of the sudden starts working when I come back to
the list activity from child activity?

-- 
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