Skip to content

Instantly share code, notes, and snippets.

@mitchwongho
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitchwongho/9524857 to your computer and use it in GitHub Desktop.
Save mitchwongho/9524857 to your computer and use it in GitHub Desktop.
Android ProTip: AsyncTask info
Beginning with Android 3.0 (API level 11), an extra feature is available in AsyncTask
so you can enable it to run across multiple processor cores. Instead of calling execute()
you can specify executeOnExecutor() and multiple requests can be executed at the same time
depending on the number of cores available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment