I'm having an issue with loading a texture (facebook 64x64 profile pic) onto objects that scroll in a grid under a scroll view.
When a texture is used as one of the elements in the view, rapid scrolling crashes the device.
Aren, do you have a proper example of loading a texture and properly unloading any resources (the
www.texture) properly?
I'm thinking my issue is the fact that it's a texture, as opposed to a sprite. If I activate the placeholder sprite, scrolling seems fine - no crashes or ANRs.
I *think* the issue is the added draw calls from using textures, combined with rapid scrolling. I know there is a memory leak issue without properly handling unloading the texture (example that's 100% accurate would help there, but this issue is different).
Thanks!
EDIT:
Here's an ANR Crash report. Being that you are better at this than me, maybe it will point to something obvious.
This report was generated with static elements in the grid. One of the panel items is a UITexture. Nothing loaded dynamically.
All I did to cause it is scroll the list view on the device and let it keep bouncing back.