What\'s the differences/ advantages / drawbacks between using Activity.runOnUiThread or Handler.post(runnable action) in android ?
see here. if in UiThread, runOnUiThread() is called immediately, post() will be called after all the message handled. if not in other thread, runOnUiThread() is the same as post().
public final void runOnUiThread(Runnable action) {
if (Thread.currentThread() != mUiThread) {
mHandler.post(action);
} else {
action.run();
}
}