public class AsyncWorker
extends java.lang.Object
| Constructor and Description |
|---|
AsyncWorker() |
| Modifier and Type | Method and Description |
|---|---|
static AsyncWorker |
getInstance()
Get the singleton instance
|
void |
init()
Initializer function.
|
void |
post(java.lang.Runnable runnable)
Posts a Runnable object to a background thread.
|
void |
stop()
Stop all background threads.
|
public void init()
public void stop()
public void post(java.lang.Runnable runnable)
runnable - public static AsyncWorker getInstance()