Search in ListView with EditText

create some array list for the listview ..And on “AddTextChangeListener” you can search for similar items in the list and load a new arraylist for the searched text…

edittext.addTextChangedListener(new TextWatcher(){
public void afterTextChanged(Editable s) {
     //search for the keyword and add the items to a new arraylist
}

Leave a Comment