ly.img.android.pesdk.utils / ThreadUtils / Companion / runOnMainThread

runOnMainThread

@<?> fun runOnMainThread(@NotNull 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.

Parameters

runnable - the runnable.