I currently have an EdittText box and this code for filtering a listview:
et.addTextChangedListener(new TextWatcher()
{
public void afterTextChanged(Editable s) { }
public void beforeTextChanged(CharSequence s, int start, int count,
int after) {}
public void onTextChanged(CharSequence s, int start, int before,
int count)
{ lv_movie_array.getFilter().filter(s); }
});
Is there an equally simple way to search for a string within the list view
items, not just from the first position like the filtering appears to do?
thanks
--
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