Recent content by lynx88

  1. L

    Implementing Search Filter in Adapter that parses a JSON

    I am trying this, but It does not work properly.. public class ColorListAdapter extends RecyclerView.Adapter implements Filterable { private JSONArray colorList; private List<String> colorListFiltered = new ArrayList<String>(); public ColorListAdapter(JSONArray json) throws...
  2. L

    Implementing Search Filter in Adapter that parses a JSON

    I would like to implement a search filter in my adapter class (used in a fragment class showing a list of colors), but although I managed to do it for simpler examples, I don't know how to proceed in this class that receives a json array; I would like to filter the search on the colorCode, since...