android onclicklistener GUI change
<p>I am having a silly issue with onClickListeners modifying GUI elements.  Below I have a radioGroup holding two buttons, an EditText and a Spinner.  When the choose_old radio button is selected, I simply wanted to toggle enable/disable between the Spinner and EditText.  The variables select_run and new_run_name are both instance variables and are
obtained from my XML files.</p>

<pre><code>select_run = (Spinner)runDialoglayout.findViewById(R.id.run_choice_spinner);
new_run_name = (EditText)runDialoglayout.findViewById(R.id.new_run_name);
RadioButton choose_old = (RadioButton)runDialoglayout.findViewById(R.id.select_old);
RadioButton choose_new = (RadioButton)runDialoglayout.findViewById(R.id.select_new);

choose_old.setOnClickListener(new OnClickListener(){
   public void onClick(View arg0) {
     Log.e("ERROR","GOT CLICK");
     select_run.setEnabled(true);
     new_run_name.setEnabled(false);        
   }
});
</code></pre>

<p>The 'GOT CLICK' message prints but I do not get the desired changes.  </p>

<p>Note:</p>

<ol>
<li>In trying solutions, I had wrapped the GUI changes in a handler.post with no effect.</li>
<li>If I set to enabled outside the onClickListener, it successfully changes it.</li>
</ol>

<p>I've no doubt this is something dumb but can't seem to figure out why this is happening</p>
