eshteghel company eshteghel company - 1 year ago 137
Android Question

Out of Memory Error Image Loader

I have this application that loads images from a web service using the image loader 1.9.3 library and with having phones with low memory the image loader gives out of memory exception that is only visible in the log cat. I don't mind the exception but i want the exception to be visible to the user via a toast so that he knows why the images stopped loading.
Any ideas please

Answer Source

your images are too big compared to size of your ImageView.

I recommend you to use Picasso.

with this you can Resize your Image according to your need.

    .resize(100, 100)

Happy Coding.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download