本文介绍了从API用Picasso在Recyclerview中加载图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用毕加索从api在RecyclerView中添加图像

Add image in RecyclerView from api using picasso

推荐答案

使用毕加索加载图像非常简单,您可以像这样Picasso.get().load("http://i.imgur.com/DvpvklR.png").into(imageView);并在其网站,您可以获得所有详细信息.在您的情况下,您可以解析每个图像URL,并使用RecyclerView与Picasso一起显示它们.

Image loading using Picasso is very easy, you can do it like this way Picasso.get().load("http://i.imgur.com/DvpvklR.png").into(imageView); and in their website you can get every details. In your case you can parse every image URL and use RecyclerView to show them along with Picasso.

这篇关于从API用Picasso在Recyclerview中加载图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-18 19:26