Android – Implementing search filter to a RecyclerView
in your adapter add new function for update the list public void updateList(List<DataHolder> list){ displayedList = list; notifyDataSetChanged(); } add textWatcher for search lets say you are using Edittext as search field searchField.addTextChangedListener(new TextWatcher() { @Override public void onTextChanged(CharSequence s, int start, int before, int count) { // TODO Auto-generated method stub } @Override public … Read more