Skip to content

Most visited

Recently visited

navigation

AsyncTaskCompat

public final class AsyncTaskCompat
extends Object

java.lang.Object
   ↳ android.support.v4.os.AsyncTaskCompat


Helper for accessing features in AsyncTask introduced after API level 4 in a backwards compatible fashion.

Summary

Public methods

static <Params, Progress, Result> AsyncTask<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.

Inherited methods

From class java.lang.Object

Public methods

executeParallel

AsyncTask<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.

Parameters
task AsyncTask: The AsyncTask to execute.
params Params: The parameters of the task.
Returns
AsyncTask<Params, Progress, Result> the instance of AsyncTask.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.