public class HandlerExecutor
extends Object
implements java.util.concurrent.Executor
Handler into a JRE Executor.
Runnables will be posted asynchronously.| Constructor and Description |
|---|
HandlerExecutor(android.os.Handler handler)
Construct a new executor wrapping the specified handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable command)
Execute a command, by posting it to the underlying handler.
|