title: Android - Is it bad practice to have multiple Shared Preferences?
body: <p>I have an app making use of <code>SharedPreferences</code>. One just stores app version to check against update for a changelog, the other contains some layout info that <code>clear()</code> gets called on as the user chooses. I finally managed to get a <code>PreferenceFragment</code> working and noticed a trend, so I thought I might ask this now before i go preference crazy (though I think I have enough). </p>
  
  <p>I've done my best to search and see no specific mention of a problem, only that it's possible to have multiples.</p>
  
  <p>I'm a little concerned about <code>PreferenceManager.getDefaultSharedPreferences()</code> grabbing the wrong pref, but I might simply be misunderstanding the usage.</p>
  
  <p>The only relevant code i could think of from my activity:</p>
  
  <pre><code>SharedPreferences storedVer = getSharedPreferences(VER_NUM, 0);
  SharedPreferences savedLayout = getSharedPreferences(LAYOUT_SAVE, 0);
  </code></pre>