Forbid GridView to load all views at once
- by efpies
I have about 700 items to display in the grid view.
On a Samsung Galaxy Tab 10.1 this is not a problem: it has enough memory.
On a HTC Explorer the heap is overflown.
So I want to load data dynamically regarding current scroll position (N rows for screen + 5 rows as a tail). And I want to show a scrollbar which represents the position in total rows. But I don't want to draw items that I don't see.
In other words, I want to create something similar to UITableView in iOS. How can I do this?