Pregunta

I read about Picasso image downloading lib but there is one problem that I can't resolve it. It's large image downloading. When I have large image i.e 2000 x 1920 it's crushed (out of memory).

How could I solve this problem?

Picasso.with(context).load(myUrl).into(imageView);

¿Fue útil?

Solución

Try

Picasso.with(context).load(url).resize(width, height)
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top