Could you please tell me how to get it to work? I'm hitting the same problem here. Tried everything you posted as well.
The difference would be that I do not use thread. I have an private String[] inside the Activity class and pass it into my custom adapter. The value inside the String[] will be update with button click. The first display work fine, but when I click on the button, the value inside String[] does change but the display won't update itself. On Sep 2, 6:27 am, sdphil <[email protected]> wrote: > nevermind, i'm a tard - works exactly as expected. > > On Sep 1, 4:24 pm, sdphil <[email protected]> wrote: > > > > > hm... even tried adapter.notifyDataSetChanged() as well - same > > result! > > > On Sep 1, 4:09 pm, sdphil <[email protected]> wrote: > > > > i have a gridview with a bunch of thumbnails in it. when it first > > > gets draw, I put in a default icon. > > > > in a separate thread, i retrieve a bunch of images. > > > > when all those images are done being retrieved, i'd like to force my > > > gridview to redraw all the thumbnails (or at least those that are > > > visible). > > > > I tried doing something like -- > > > > ((GridView) findViewById(R.id.MyGridView)).invalidate(); > > > > and > > > > ((GridView) findViewById(R.id.MyGridView)).invalidateViews(); > > > > But neither of these seemed to force a redraw. If I scroll around a > > > bit in the grid view, I can get some of the thumbnails to redraw > > > properly. Any ideas on how I can force a complete redraw? > > > > tia. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

