title: How to call getBaseContext() on Fragment
body: <p>I have this method which can be called from normal Activity:     </p>
  
  <pre><code>getBaseContext().getResources().updateConfiguration(config2, getBaseContext().getResources().getDisplayMetrics());
  </code></pre>
  
  <p>The problem is I cannot call <code>getBaseContext()</code> in Fragment, how can I to do that? Or with what do I need to replace the <code>getBaseContext()</code> from a Fragment class?</p>