public class UiThreadContext
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
assertBackgroundThread()
Checks if you're not in the UI thread.
|
static void |
assertUiThread()
Checks if you're in the UI thread.
|
static boolean |
isInUiThread() |