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

runOnMainThread

open static 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 - ThreadUtils.MainThreadRunnable!: the runnable.