清单的图像和文字在Android的列表视图 [英] Listing Images and Text in Android list view
本文介绍了清单的图像和文字在Android的列表视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的RSS新闻阅读器应用程序,我目前上市的RSS标题在列表视图中使用以下method.I已存储RSS数据在阵列使用这种方法,的 http://droidapp.co.uk/?p=166 。我想列出RSS源的图像以及来自RSS源的title.I取出的图像URL 。可谁能帮助找到解决办法?
的ListView LV1;
LV1 =(ListView控件)findViewById(R.id.listView1);
lv1.setAdapter(新ArrayAdapter<字符串>(这一点,R.layout.mylist,array.PodcastTitle));
解决方案
请参阅此自定义或动态的列表视图
也看到了这如何加载的从网址图片
In my RSS News Reader app,I am currently listing RSS titles in a List view using the following method.I have stored RSS data in array using this method, http://droidapp.co.uk/?p=166 .I want to list RSS feed images along with its title.I fetched image URL from RSS feed.Can anyone help finding a solution?
ListView lv1;
lv1 = (ListView)findViewById(R.id.listView1);
lv1.setAdapter(new ArrayAdapter<String>(this,R.layout.mylist , array.PodcastTitle));
解决方案
See this custom or dynamic Listview example
also see this to how to load image from URL
这篇关于清单的图像和文字在Android的列表视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文