Calling setContentView from another Class
<p>I have ActivityA which creates a ClassB object wherein I pass a context like below:</p>

<pre><code>ClassB b = new ClassB(ActivityA.this);
</code></pre>

<p>I want to have a method in ClassB where in I can call ActivityA's </p>

<p><code>setContentView(R.layout.sample);</code></p>

<p>Is this possible or anyway to do this?</p>

<p>ClassB is where I inflate my custom dialog.</p>

<p>Edited: Reason for this is I want to refresh ActivityA's view bec. I'm setting a Locale.</p>
