The idea is on how to implement the custom filter in a good way free of bugs. In this example i ave a list of materials and i am supposed to select from it and search inside it as well. The filter here is anonymous class inside the materials adapter. The adapter class package com.dash.util; import java.util.ArrayList; import java.util.List; import com.dash.patientmaterials.R; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.Filter; import android.widget.Filterable; import android.widget.TextView; /** * * @author melsonbati@hotmail.com * */ public class MaterialsAdapter extends ArrayAdapter<MaterialItem> implements Filterable{ private List<MaterialItem> allMaterials; private List<MaterialItem> filterdMaterials; View row; int resLayout; Context context; public MaterialsAdapter(Context context, int layoutId, L...