I have a GridView which is pretty similar to the Google tutorial, except that I want to add the ImageViews on runtime (via a subactivity). The results are okay, but the layo
None of these answers actually worked for me and I had to mash all of them together. To actually get the GridView to update, you need to do this:
adapter.notifyDataChanged(); grid.invalidateViews(); grid.setAdapter(adapter);
Hope this helps anyone who couldn't get the other solutions to work.