Pergunta

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

Foi útil?

Solução

Try

Picasso.with(context).load(url).resize(width, height)
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top