public interface ActivityExecutor
Activity| Modifier and Type | Method and Description |
|---|---|
<T> T |
execute(Activity activity, java.util.concurrent.Callable<T> callable)
Executes a Callable with the specified Activity
|
void |
execute(Activity activity, java.lang.Runnable runnable)
Executes a Runnable with the specified Activity
|
void execute(Activity activity, java.lang.Runnable runnable)
activity - the Activityrunnable - the Runnable<T> T execute(Activity activity, java.util.concurrent.Callable<T> callable) throws java.lang.Exception
T - the return typeactivity - the Activitycallable - the Callablejava.lang.Exception