List of utility methods to do Thread Executor Execute
void | runOnUI(Runnable runnable) run On UI runInBackground(runnable, true); |
void | runWithTimeout(final Runnable runnable, long timeout, TimeUnit timeUnit) run With Timeout timedTask(new Callable<Object>() { @Override public Object call() throws Exception { runnable.run(); return null; }, timeout, timeUnit); |