title: String set to ArrayList?
body: <p>So I was looking up how to change a <code>String</code> set to an <code>ArrayList&lt;sSring&gt;</code> and I couldn't find anything. I tried:</p>
  
  <pre><code>favorites  = new ArrayList( mPrefsaved.getStringSet("faves", null) ;
  </code></pre>
  
  <p>How can I convert a <code>StringSet</code> into an <code>ArrayList&lt;string&gt;</code>?</p>
  
  <p>I tried: </p>
  
  <pre><code>  private void getsaved() {
  
        favorites = new ArrayList&lt;String&gt;(mPrefsaved.getStringSet("faves", null));
  
  }
  </code></pre>
  
  <p>But log Cat told me <code>NullPointerException</code></p>