Last active
August 29, 2015 13:57
-
-
Save mitchwongho/9524857 to your computer and use it in GitHub Desktop.
Android ProTip: AsyncTask info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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