title: How to display ArrayList<Hashmap<String, String>> in recycler view
body: <p>I am implementing a search result page where similar results are displayed. I have a Array-List of Hash-Maps(<strong>with 50 maps where every map has 12 values</strong>). I want to display each map in card-views of the result page. I tried using recycler view for this. but couldn't wrap my mind around it.
  I already gone through all threads in stack overflow but I couldn't find anything.</p>
  
  <pre><code>ArrayList&lt;HashMap&lt;String, String&gt;&gt; mylist = new ArrayList&lt;HashMap&lt;String,String&gt;&gt;();
  
  nodes = docc.getElementsByTagName("Table");
              int k = nodes.getLength();
  
              for (int i = 0; i &lt; k; i++) {
                  Element e = (Element) nodes.item(i);
                  HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();
                  patid = getValue(e, "iPat_id");
                  patname = getValue(e, "cPat_Name");
                  patAge = getValue(e, "iAge");
                  cMaritalSt = getValue(e, "cMarital_St");
                  OpRegNo = getValue(e, "iReg_No");
                  Doc_Id = getValue(e, "iDoc_id");
                  Dept_Id = getValue(e, "iDept_id");
                  DocName = getValue(e, "cDocName");
                  PatAddress = getValue(e, "PatAddress");
                  mobileno = getValue(e, "cMobile");
                  patdob = getValue(e, "dDob");
                  iOP_Reg_No = getValue(e, "iOP_Reg_No");
  
                  map.put("iPat_id", patid);
                  map.put("cPat_Name", patname);
                  map.put("iAge", patAge);
                  map.put("cMarital_St", cMaritalSt);
                  map.put("iReg_No", OpRegNo);
                  map.put("iDoc_id", Doc_Id);
                  map.put("iDept_id", Dept_Id);
                  map.put("cDocName", DocName);
                  map.put("PatAddress", PatAddress);
                  map.put("cMobile", mobileno);
                  map.put("dDob", patdob);
                  map.put("iOP_Reg_No", iOP_Reg_No);
                  mylist.add(map);
  
              }
  </code></pre>
  
  <p>This is the ArrayList I am getting. kindly give me a example of how to set recycler adapter for this Arraylist.</p>