"it would not requery when I deleted characters from my search edit
text field."
use listAdapter.notifyDatachanged(); this will force the list to
requery its data source.

You'll have to implement your own search algorithm in order to have
the results you want as the default listview search only produces the
'startsWith' results. You could implement this in the textView's
onTextChanged event handler and then after doing that call the
listAdapter.notifyDatachanged();

On Aug 16, 8:07 pm, usafrmajor <usafrma...@gmail.com> wrote:
> Tried this and it seems to work the same was as the other way except it
> would not requery when I deleted characters from my search edit text field.  
> For clarification I would like to be able to search a string within text.  
> For example if I have a list with the following
>
> through
> market
> weather
> pithy
> search
> kilometer
>
> and do a search on "th" my results would be
>
>     through
>     weather
>     pithy
>
> not just
>
>     through

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