title: Android SharedPreference
body: <p>Hi I am working on a scorecard showing 4 players' score in a game, and when the user press a button, a new row would be inserted. I do this by:</p>
  
  <pre><code>   private void makeTag(String P1Score, String P2Score, String P3Score, String P4Score, String slot)
     {
        // originalQuery will be null if we're modifying an existing search
        String originalScore = SavedSlots.getString(slot, null);
  
        // get a SharedPreferences.Editor to store new slot/scores
        SharedPreferences.Editor preferencesEditor = SavedSlots.edit();
        preferencesEditor.putString(slot, P1Score, P2Score, P3Score, P4Score); // to store
        preferencesEditor.apply(); // store the updated preferences
  </code></pre>
  
  <p>It then prompt out error under <code>putString</code> saying:</p>
  
  <pre><code>The method putString(String, String) in the type SharedPreferences.Editor is not  
  applicable for the arguments (String, String, String, String, String).
  </code></pre>
  
  <p>It seems that can only store 2 variables at one time? (i.e slot and P1Score).</p>
  
  <p>There are 4 players and I would like to save for their respective scores, how can I do so?</p>