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

runOnMainThread

fun runOnMainThread(runnable: ThreadUtils.MainThreadRunnable): Unit

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.