title: Declare view elements in another class (context not clear)
body: <p>I am creating a dynamic UI programatically and in main class I am creating UI element so that I can later add it to <code>TableLayout</code> view. Normally I declare it like this:</p>
  
  <pre><code>TextView tw_1_2 = new TextView(this);
  </code></pre>
  
  <p>where <code>this</code> is the context. Since I never get to understand context clearly can someone tell me how can I declare this <code>TextView</code> in another class (as public static for example) and what should I put in context if I want to declare this view in some other class?</p>