MCPcopy Create free account
hub / github.com/buggins/coolreader / post

Method post

android/src/org/coolreader/crengine/Engine.java:224–229  ·  view source on GitHub ↗

Schedule task for execution in Engine thread @param task is task to execute

(final EngineTask task)

Source from the content-addressed store, hash-verified

222 * is task to execute
223 */
224 public void post(final EngineTask task) {
225 if (LOG_ENGINE_TASKS)
226 log.d("executing task " + task.getClass().getSimpleName());
227 TaskHandler taskHandler = new TaskHandler(task);
228 mBackgroundThread.postBackground(taskHandler);
229 }
230
231 /**
232 * Schedule Runnable for execution in GUI thread after all current Engine

Callers 5

setGUIMethod · 0.45
runMethod · 0.45
postBackgroundMethod · 0.45
postGUIMethod · 0.45

Calls 3

getClassMethod · 0.80
postBackgroundMethod · 0.80
dMethod · 0.65

Tested by

no test coverage detected