title: How to get value stored in ArrayList<HashMap<key,value>>?
body: <p>I have  ArrayList>. In another activity I want to access all values stored in ArrayList>.</p>
  
  <p>I have tried following code:</p>
  
  <pre><code>ArrayList&lt;HashMap&lt;String, String&gt;&gt; mylist = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;();
  
  for(Hashmap&lt;String, String&gt; map: mylist) {
      for(Entry&lt;String, String&gt; mapEntry: map) {
          String key = mapEntry.getKey();
          String value = mapEntry.getValue();
      }
  }
  </code></pre>
  
  <p>but it shows an error at <code>for(Entry&lt;String, String&gt; mapEntry: map)</code> that it only interate over Array.</p>