android - Best way to manage bitmap storage in a long listview having big images? -


I have large lines (~ 300) in a row list (~ 720 * 300) in each row. Now if I scroll to the end of the list view, then my hash (which stores bitmap) contains 300 images. For how long I get memory exception, what is the best way to solve this problem?

Thank you for helping. Any code would be great!

You probably need a library like Picasso helps you download photos, resize them, and cache them if needed. This listview also handles specific problems, such as freeing memory to ensure smooth scrolling.

Comments

Popular posts from this blog

c# - Textbox not clickable but editable -

Matlab transpose a table vector -

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -