如何显示图像的组作为数组列表中的字符串 [英] how to display group of images as string in arraylist

查看:232
本文介绍了如何显示图像的组作为数组列表中的字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是新来的Andr​​oid
    我通过JSON得到了来自服务器的图片URL的反响数组列表中我得到了ArrayList的字符串,我保存它的ArrayList

hi i am new to android i got the image url responce from server via json in arraylist i got the arraylist string and i stored it in arraylist

这是我的编码:

ArrayList的人=新的ArrayList();

ArrayList al = new ArrayList();

al.add(message.getParameters());

al.add(message.getParameters());

在这里我想补充的反响字符串到数组这是性反应的形象字符串。
图像字符串的URL。

here i add the responce string into array this responce is image string. the image string is url.

在这里,我想显示仿真图像

here i want to display the images in emulator

我怎么能做到这一点,请告诉我。

how can i accomplish this please tell me

推荐答案

我会给你这个想法。设置在布局的ImageView的,那么在ImageView的从存储在ArrayList中的URL加载图像。

I will give you an idea about this. Set an ImageView in your layout, then load the image in ImageView from the URL stored in ArrayList.

这篇关于如何显示图像的组作为数组列表中的字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆