title: How to save hashmap values to sharedpreference?
body: <p>I have a hashmap that is this:</p>
  
  <pre><code>static final ArrayList&lt;HashMap&lt;String,String&gt;&gt; tasklist = new ArrayList&lt;HashMap&lt;String,String&gt;&gt;();
  </code></pre>
  
  <p>I want to store the contents of the <code>hashMap</code> arraylist to <code>sharedpreference</code>.</p>
  
  <p>How can i do that ? And also, how do I retrieve the values afterwards?</p>