简体   繁体   中英

How can i put images in listview from json object?

我能够将jsonobject转换为列表并在listview中显示,但我希望显示images(Bitmap)。当我尝试这样做时,我得到了图像源链接和id而不是images。我正在研究facebook graph api并希望所有用户在我的应用程序中发布(图片)。

If you are getting image link like this - http://theeducationaltourist.com/wp-content/uploads/2014/07/shutterstock_148530896.jpg

then you use an image loading libraries that can load images in your imageview. There are many libraries available : Glide , Picasso , Fresco , UIL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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