【发布时间】:2016-01-17 20:13:46
【问题描述】:
我将毕加索用于我的 Android 应用程序。使用毕加索转换我渲染了在我的应用程序的某些部分转换的图像,但是当我尝试在另一部分渲染图像时,我也得到了转换后的图像。我怎样才能让原始图像在不转换的情况下显示它?
这是一个代码示例。
String imageUrl = "http://path/image.png";
CustomTransformation *trans= new CustomTransformation();
Picasso.with(this).load(imageUrl).transform(trans).into(myImageView1);
Picasso.with(this).load(imageUrl).into(myImageView2);
在这之后,两个图像视图都显示了应用了变换的图像
【问题讨论】:
-
请提供一些代码!
-
@PatrickMA 我添加了一些代码,现在更清晰了
标签: android picasso image-caching