android listview绑定图像与文本使用AsyncTask [英] android listview binding image with text using AsyncTask
问题描述
我想开发一个listview,在其中我可以下载文本值和可以绑定在一起显示结果的图像。请有人在此帮助我。我还要求使用AsyncTask下载数据。来自服务器的响应是字符串格式,其中图像的URL也来了。我提供了一个样本图像的链接。
http://2.bp.blogspot.com/_C5a2qH8Y_jk/TDYb7lA_lnI/AAAAAAAAAgk/AOy7va5fhQg/s1600/AndroidList_07.png [ ^ ]
去这里 [ ^ ]有关ListView的完整教程。
可以找到WebService和AsyncTask 这里 [ ^ ]。
I want to develop a listview in which I can download both text values and images that can be bind together to show the result. Please anyone kindly help me in this. Also I require the data to be downloaded with the AsyncTask. The response from the server is in the string format in which the URL of the image is also coming. I am providing a link to sample image with this.
http://2.bp.blogspot.com/_C5a2qH8Y_jk/TDYb7lA_lnI/AAAAAAAAAgk/AOy7va5fhQg/s1600/AndroidList_07.png[^]
Go here [^] for complete tutorial on ListView.
WebService and AsyncTask can be found here[^].
这篇关于android listview绑定图像与文本使用AsyncTask的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!