title: How to get TextView reference in a FragmentActivity from inside a OnClickListener on a button in the same activity
body: <p>Let me explain, I had this <code>Activity</code>, where there is a <code>Button</code> and a <code>TextView</code>. I had to create a listener to this button(can't be a inner class or private class), lets call <code>ButtonListener</code>. I need to change the <code>TextView</code> from the <code>Activity</code> inside the <code>ButtonListener</code>. How do I do that?</p>
  
  <p>Activity --> <code>Button b, TextView t</code></p>
  
  <pre><code>b.setOnClickListener(ButtonListener listener)
  </code></pre>
  
  <p>listener --> <code>onClick()</code> { //need to change the TextView here }</p>
  
  <p>Thanks</p>