0

I have a strange allocation issue on a listview, populated with LOTS of views with bitmaps.

The strange thing is that if I scroll down the list manually, the system allocates more and more space on the heap and the app crashes with an infamous OutOfMemory. If I scroll down the list instead with fastscroll, the system correctly frees the heap! Of course, I reuse views...

Any idea on how to correct this?

DeliriumTremens
  • 340
  • 5
  • 14

1 Answers1

0

You can use LazyLoad images,

LazyList Github

and

LazyList Stackoverflow

Community
  • 1
  • 1
Dawid Sajdak
  • 3,064
  • 2
  • 23
  • 37