title: Android: getPreferenceScreen vs getPreferenceManager
body: <p>I am little confused with the two methods available in <strong><code>PreferenceActivity</code></strong>, that are <code>getPreferenceScreen()</code> and <code>getPreferenceManager()</code>. </p>
  
  <p>I have gone through the stackoverflow thread : </p>
  
  <p><a href="https://stackoverflow.com/questions/13618335/preferencefragment-difference-between-getpreferencemanager-and-getpreference">PreferenceFragment - Difference between getPreferenceManager() and getPreferenceScreen()?</a> </p>
  
  <p>Which says that </p>
  
  <p><code>getPreferenceScreen()</code> : is related to screen and setting the values of xml and <code>getPreferenceManager()</code> : is related to preference management, i.e. getting the settings map and putting the values </p>
  
  <p>But I am using the <code>getPreferenceManager()</code> and still can update <strong>Preferences and its summary in xml</strong>. </p>
  
  <p>Can anyone please help me out to understand what is the key difference and what to use in what location?</p>