public void runOnUiThread(java.lang.Runnable action) { if (java.lang.Thread.currentThread() != mUiThread) { mHandler.post(action); } else { action.run(); } }
internal override void schedule(java.lang.Runnable runnable, int ms) { Task task = Task.Delay(ms); task.ContinueWith(_ => runnable.run()); }