title: How to force control to immediately update itself in Android?
body: <p>I have a situation when I need to redraw control immediately. Here is one basic example:</p>
  
  <pre><code>editText.setText("some text");
  // some code to redraw control immediately.
  Thread.sleep(10000);
  </code></pre>
  
  <p>Normally, control will be updated when this method exits, at the event processing stack frame, after 10 minutes late. Is there some way to process this event out of order, in top of the current stack. In <code>C#</code> I would achieve this by calling <code>Application.DoEvents()</code>.</p>
  
  <p>I know that this is normally achieving by doing long execution async, but in simple case like this it would be unnecessary complication.</p>