|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskRunner
A handler that can run task in off-main threads.
Method Summary | |
---|---|
void |
runMainTask(Runnable r)
Run a task on the main thread. |
void |
runThreadTask(Runnable r)
Run a task in another thread. |
void |
shutdown()
Shut down this task runner. |
Method Detail |
---|
void runThreadTask(Runnable r)
r
- the task to run.void runMainTask(Runnable r)
r
- the task to run on the main thread.void shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |