object ThreadUtils
(source)
fun assertOnUiThread(): Unit |
|
fun postToBackgroundThread(runnable: Runnable): Unit fun postToBackgroundThread(runnable: () -> Unit): Unit |
|
fun postToMainThread(runnable: Runnable): Unit |
|
fun postToMainThreadDelayed(runnable: Runnable, delayMillis: Long): Unit |
|
fun setHandlerForTest(handler: Handler): Unit |