如何创建列表视图与类别/段? [英] how to create listview with categories/segments?

查看:90
本文介绍了如何创建列表视图与类别/段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建列表视图中的机器人与下面的情形

i want to create listview in android with following scenario

标题类别1

第1项 第2项 项目3

item 1 item 2 item 3

标题类别2

第1项 2项

标题3类 项目1

等等。

任何一个指导我如何实现这一目标? 任何帮助,将AP preciated。

any one guide me how to achieve this? any help would be appreciated.

推荐答案

我想你想的头和里面的物品了。下面的链接可以帮助你这一点。

I think you want headers and items inside that. Below link should help you for this.

<一个href="http://umakantpatil.com/posts/android-listview-with-separate-headers-and-images-loading-from-remote-server" rel="nofollow">http://umakantpatil.com/posts/android-listview-with-separate-headers-and-images-loading-from-remote-server

它为您提供标题和其下的项目。您可以ofcourse使用过所给出的臭氧扩展列表。

It provides you header and items under it. You can ofcourse use expandable list too as given by Ozone.

这篇关于如何创建列表视图与类别/段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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