1

Grid view state not retained on restart of the Activity

view story
linux-howto

http://stackoverflow.com – I'm facing an issue of retaining the grid view state on orientation change. Initially, when the grid view is created only 9 images are loaded. As and when the user scrolls the grid view more images are added to the grid view and this works perfectly. When the image on the grid view is clicked, another activity is opened which shows the image on a image view,now, on back button pressed when I return to the grid activity, the grid view loses it's state meaning that, now the activity starts from scratch again, which shows only the first 9 images loaded. The images are downloaded using the Univer (HowTos)