Showing posts with label android-asynctask. Show all posts
Showing posts with label android-asynctask. Show all posts

Monday, May 14, 2012

What are the advantages/disadvantages on passing arguments to the AsyncTask constructor?


I am using AsyncTask and wondering what are the implications of passing the arguments to the constructor instead of passing them directly on the execute() call to the doInBackground(...) method, for example:

Monday, February 27, 2012