static fun runOnMainThread(@NonNull runnable: ThreadUtils.MainThreadRunnable): void
Run Ui operation on the main thread at the next UI Frame or instant if the execution thread already the main thread.
runnable
- ThreadUtils.MainThreadRunnable: the runnable.