public class ExecutionUtils
Utils for predefined Thread execution
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureMainThread()
Ensures that method invocation happened on main thread
|
static void |
runOnUIThread()
Executes runnable on the UI thread
|
static void |
showToast()
Shows toast. Can be executed from background thread.
|
public static void ensureMainThread()
Ensures that method invocation happened on main thread
public static void runOnUIThread()
Executes runnable on the UI thread
public static void showToast()
Shows toast. Can be executed from background thread.