how to display group of images as string in arraylist

∥☆過路亽.° 提交于 2019-12-11 22:07:41

问题


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

this is my coding:

ArrayList al = new ArrayList();

al.add(message.getParameters());

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


回答1:


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.



来源:https://stackoverflow.com/questions/5242871/how-to-display-group-of-images-as-string-in-arraylist

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!