title: android shared preference one key with multiple values
body: <p>My query is straight forward, couldn't find answer across google:</p>
  
  <p>For Example:</p>
  
  <p>Repository 1  -> username1
                -> password1</p>
  
  <p>Repository 2  -> username2
                -> password2</p>
  
  <p>Repository 3  -> username3
                -> password3</p>
  
  <p>As mentioned above, I have a dialog box with three repositories. When user selects a repository automatically another dialog box pops up to enter username and password.</p>
  
  <p>So, what i am trying to achieve is to save repository name, username and password in a shared preference with a single key.</p>
  
  <p>I know how to create a shared pref object with a single key and value. What i am looking for is a shared pref obj with a single key and 3 values. </p>
  
  <p>Is it really possible? If yes, you can show me some direction.</p>