Created
June 8, 2014 21:19
-
-
Save a-v-ebrahimi/0fa0f76c33fc3aefb1a2 to your computer and use it in GitHub Desktop.
Android:Execute AsyncTask Honeycomb
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
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) | |
my_task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[])null); | |
else | |
my_task.execute((Void[])null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment