title: Change view on dialog when pressing a button in the dialog
body: <p>Say i have two views in a layout - a Button and a TextView.</p>
  
  <p>Is it possible to change the TextView text inside the button on click listener.</p>
  
  <p>something like this:</p>
  
  <pre><code> button.setOnClickListener(new View.OnClickListener() 
      {
          @Override
          public void onClick(View v) 
          {
              textview.settext("changedText");
          }
      });
  </code></pre>
  
  <p>The obvious error is that textview is not recognized by the OnClickListener method, and making it final will make it impossible for changing.</p>