I have a question about the AsyncTask.
I have a simple activity which loads a picture into an ImageView.
I wanted to have a progress dialog show in case it took a while to find and display the photo on older phones. I checked out various ways of implementing a thread and the AsyncTask seemed to work best in my situation. I got it working but there was a definite delay in getting the photo via the AsyncTask + a handler to add the bitmap returned via teh asynctask to an ImageView. It turns out that on my phone simply getting the photo in the UI thread works faster.
So is this performance issue inherent with using AsyncTask? If no, I can post my code to see if it is something else that I have done.
Many thanks for your replies