Modifier and Type | Method and Description |
---|---|
static <Params,Progress,Result> |
executeParallel(AsyncTask<Params,Progress,Result> task,
Params... params)
Executes the task with the specified parameters, allowing multiple tasks to run in parallel
on a pool of threads managed by
AsyncTask . |
public static <Params,Progress,Result> AsyncTask<Params,Progress,Result> executeParallel(AsyncTask<Params,Progress,Result> task, Params... params)
AsyncTask
.task
- The AsyncTask
to execute.params
- The parameters of the task.