public class ThreadUtils
extends java.lang.Object
| Constructor and Description |
|---|
ThreadUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
runOnUi(java.lang.Runnable runnable)
Run Ui operation on the main thread at the next UI Frame.
|
static boolean |
thisIsUiThread()
Check if this is the Ui thread.
|
public static boolean thisIsUiThread()
public static void runOnUi(java.lang.Runnable runnable)
runnable - the runnable.