本文介绍了android listview绑定图像与文本使用AsyncTask的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想开发一个listview,在其中我可以下载文本值和可以绑定在一起显示结果的图像。请有人在此帮助我。我还要求使用AsyncTask下载数据。来自服务器的响应是字符串格式,其中图像的URL也来了。我提供了一个样本图像的链接。
[]
解决方案
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[^]
解决方案
这篇关于android listview绑定图像与文本使用AsyncTask的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!