2

我阅读了有关 Picasso 图像下载库的信息,但有一个问题我无法解决。是大图下载。当我有大图像时,即 2000 x 1920 它被压碎(内存不足)。

我该如何解决这个问题?

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

4

1 回答 1

7

尝试

Picasso.with(context).load(url).resize(width, height)
于 2014-01-17T14:01:27.870 回答