title: runOnUiThread vs Looper.getMainLooper().post in Android
body: <p>Can anyone tell me if there's any difference between using <code>runOnUiThread()</code> versus <code>Looper.getMainLooper().post()</code> to execute a task on the UI thread in Android??</p>
  <p>The only thing I can determine is that since runOnUiThread is a non-static Activity method, <code>Looper.getMainLooper().post()</code> is more convenient when you need to code something in a class that can't see the Activity (such as an interface).</p>
  <p>I'm not looking for a discussion on WHETHER something should be executed on the UI thread, I get that some things can't and a great many things shouldn't, however, some things (like starting up an AsyncTask) MUST be executed from the UI thread.</p>