public class PivotUIThreadManager extends AbstractUIThreadManager
ERROR_CALLABLE_NULL, ERROR_RUNNABLE_NULL| Constructor and Description |
|---|
PivotUIThreadManager(GriffonExceptionHandler exceptionHandler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUIThread()
True if the current thread is the UI thread.
|
void |
runInsideUIAsync(Runnable runnable)
Executes a code block asynchronously on the UI thread.
|
void |
runInsideUISync(Runnable runnable)
Executes a code block synchronously on the UI thread.
|
runFuture, runFuture, runInsideUISync, runOutsideUI, setExecutorServiceManager@Inject public PivotUIThreadManager(@Nonnull GriffonExceptionHandler exceptionHandler)
public boolean isUIThread()
ThreadingHandlerpublic void runInsideUIAsync(@Nonnull Runnable runnable)
ThreadingHandlerpublic void runInsideUISync(@Nonnull Runnable runnable)
ThreadingHandler