|
||||||||||
| 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. |
| Method Detail |
|---|
void runThreadTask(Runnable r)
r - the task to run.void runMainTask(Runnable r)
r - the task to run on the main thread.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||