I have a regular Gallery widget. For some reason, the getView method in my adapter is getting called once for every single element in my list of items. Effectively creating all the layout elements many more times than necessary and leading to slower loading times as well as outofmemory exceptions.
Reading through several posts I understand that Gallery does not recycle, but I don't think that it should be creating every single item from the get go. Would appreciate any suggestions on how I can prevent all images from being loaded on load.