I have a GridView that uses an ArrayAdapter to populate the data in the grid. The ArrayAdapter connects to a list of Strings. When the list is updated, I invoke the invalidate() method on the GridView to make it show the latest data in the list.
But the GridView is not redisplaying the data. I've also tried forceLayout() and postInvalidate(). I've also tried executing setAdapter() again, but that causes an exception.
I've attached a simplified example of what I'm doing. What have I done wrong?
Here's the XML for the screen