title: Storing a String array in the SharedPreferences
body: <p>I was wondering if it could be possible to save in the shared preferences an array of Strings, in a way that, every time we save a certain String, we store it in that array.</p>
  
  <p>For example I have a list of locations with a certain ID that I want to mark as favorite.
  The ideal situation would be, having an array and saving a certain location ID (let's call it Location1) in that array, so next time I want to mark a new location as favorite (let's call it Location2), I retrieve that array (which so far contains Location1) and add the ID of this new location I want to add (Location2).</p>
  
  <p>Android has methods to store primitive objects, but not for arrays.
  Any idea in order to do this, please?</p>