title: How to use setContentView(int) from class which does not extend Activity
body: <p>I need to call the setContentView(int) from my main Activity from another class which does not extends Activity.</p>
  
  <p>In my custom class I've got the <code>private Context context;</code> var that is passed from the Activity in the Constructor but I can't figure out how to acces the Activity methods using the <code>context</code> variable.</p>