RichUtils / pyxis.uzuki.live.richutilskt.utils / runOnUiThread

runOnUiThread

fun runOnUiThread(action: () -> Unit): Boolean
fun runOnUiThread(action: F0): Boolean

run code inside of UI Thread

Parameters

action - code to execute