How to call getBaseContext() on Fragment
<p>I have this method which could be called on a normal Activity: <code>getBaseContext().getResources().updateConfiguration(config2, getBaseContext().getResources().getDisplayMetrics());</code></p>

<p>the problem is I cannot call getBaseContext() on a Fragment, how am I able to do that? Or with what do I need to replace the getBaseContext() on a Fragment class?</p>
