Question

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);

Était-ce utile?

La solution

Try

Picasso.with(context).load(url).resize(width, height)
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top