That means you can only call 'execute()' on an AsyncTask instance once.

E.g.
*MyAsyncTask myTask = new MyAsycnTask();*
*myTask.execute(); // ok*
*myTask.execute(); // wrong. Cannot be executed more than once.*

However:
*MyAsyncTask myTask = new MyAsycnTask();*
*myTask.execute(); // ok*
*myTask = new MyAsycnTask(); // create another new instance of MyAsyncTask
*
*myTask.execute(); // ok*

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to