Greetings everyone,

I'm developing application that shows thumbnails of images in gridview
widget. I load html with image names, and set ImageAdapter. That image
adapter loads single image (from internet or SD card) in AsyncTask
with selected image position. After I initialy download html with
image names, and parse them to array, I set selection of GridView to
index of last image. But, what happens is this : first image that gets
downloaded is image with index zero. That gives me a lot of trouble
because i'm using convert views and AsyncTasks, so sometimes I end up
with wrong picture at first column in last row (sometimes picture with
index 0 gets in there), depending on which AsyncTask gets executed
first. Even stranger, I end up with around 10 calls to getView for
image with index 0.

Does anyone have idea how to switch GridViews position to last image,
and not have image with index 0 loading?

-- 
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