简体   繁体   English

如何在毕加索上加载图像?

[英]How can I load image on Picasso?

How can I load image on android studio by using Picasso libary.如何使用毕加索库在 android 工作室加载图像。 I tried it before but no image shown... Note: Libary implementation, Internet access permission everything I do correctly but nothing happened...我之前尝试过,但没有显示图像...注意:库实现,互联网访问权限我所做的一切都是正确的,但什么也没发生...

Below is the example to load the image with Picasso.下面是使用毕加索加载图像的示例。

 Picasso.with(mcontext).load(URLDecoder.decode(current.getImage(), "UTF-8"))
                .placeholder(R.drawable.program)
                .into(holder.imageView);

Share your code here so we can check.在此处分享您的代码,以便我们检查。

You can try do it with this example您可以尝试使用此示例进行操作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM