ExecutionUtils

Utils for predefined Thread execution

Functions

Link copied to clipboard

Ensures that method invocation happened on main thread

Link copied to clipboard

Executes runnable on the UI thread

Link copied to clipboard
fun showToast(context: Context?, messageRes: Int)

Shows toast. Can be executed from background thread.