I have a ListView and a EditText. How can I filter ListView data when typing on EditText?
You can use:
http://developer.android.com/reference/android/widget/TextView.html
addTextChangedListener( TextWatcher watcher )
to figure out when the textview was changed. I believe it should be called everytime a letter is added or removed.
Then update your list adapter to dislplay the new items by either:
BaseAdapter to accept your filter and call notifyDataSetChanged() after it has finished removing the items you no longer wanthttp://developer.android.com/reference/android/widget/BaseAdapter.html