Domanda

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

È stato utile?

Soluzione

Try

Picasso.with(context).load(url).resize(width, height)
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top