自定义列表视图,每件3串? [英] Custom listviews, 3 Strings per item?

查看:161
本文介绍了自定义列表视图,每件3串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将如何创建自定义的Andr​​oid的列表视图?我有其中有一个标题,smalltext和说明项目。我想从他们创造一个列表视图,其中每个项目的三重冠军,smalltext,说明这看起来像

How would I create custom listviews in Android? I've got items which have a title, smalltext and description. I'd like to create a listview from them where each item is the triple title, smalltext, description that would look like

**Item Heading**

Description bla bla bla

small text

**Item Heading**

Description bla bla bla

small text

**Item Heading**

Description bla bla bla

small text

我将如何实现这一目标?

How would I achieve this?

推荐答案

有关完成这个任务,你必须创建自己的自定义列表视图,自定义适配器。

For doing this task you have to create your own custom list view, Custom Adapter.

查看例子这里

saigeetham博客。 Saigeetham博客会帮助你找到你想要的东西。

saigeetham blog. Saigeetham blog will help you to find what you want.

这篇关于自定义列表视图,每件3串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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