title: How to add a array to preferences (libGdx)
body: <p>Hello I've trying to get a array of integers saved in a Preferences file.</p>
  
  <pre><code>    int[] ints = {2, 3, 4};
  
      Hashtable&lt;String, int[]&gt; hashTable = new Hashtable&lt;String, int[]&gt;();
      hashTable.put("test", ints);
  
      pref.getPref().put(hashTable);
      pref.getPref().flush();
  
      Gdx.app.log(String.valueOf(pref.getPref().get()), "");
  </code></pre>
  
  <p>But I got 0 saved prefs. I did try it with HashMap too.</p>