title: How to use HashMap data in RecyclerView?
body: <p>I count the same value with <em>HashMap</em> (says <code>hasmap</code>), but how to display key and value of the <em>HashMap</em> in <em>RecyclerView</em>?</p>
  
  <pre><code>HashMap&lt;String, Integer&gt; hasmap = new HashMap&lt;&gt;();
  for (int i = 0; i &lt; data.length(); i++){
      JSONObject List_data_kecamatan = data.getJSONObject(i);
  
      String nama_kecamatan = List_data_kecamatan.getString("dapil_kecamatan");
  
      int count = 0;
      if (hasmap.containsKey(nama_kecamatan)){
          count = hasmap.get(nama_kecamatan)+1;
          hasmap.put(nama_kecamatan, count);
      }else {
          hasmap.put(nama_kecamatan, 1);
      }
  
  }
  </code></pre>
  
  <p>I Using JSON Object as key in <code>hasmap</code>.</p>