列表视图在android的组视图、列表、android

2023-09-06 03:23:58 作者:陌上雪如烟

我有一个列表视图与一些日期和文本各row.Can我组在此ListView的成组在iPhone与them.Is有可能在Android中的头。请帮忙。 也就是说我需要在ListView行的标题栏,使每个标题下的行会成为一组,如果我使用日期分组的。

I have a list view with some date and text in each row.Can I group this listView into groups as in iPhone with header between them.Is it possible in android. Please help. i.e I need to have header bar between the Listview rows so that rows below each header will become a group if I am grouping it using date.

推荐答案

下面是大量的文章Android - ListView控件与谷歌部分,从我列出了一些重要的文章/教程:

Here are the plenty of articles for Android - ListView with Section from Google, from that i have listed out some of important articles/tutorials:

http://$c$c.google.com/p/android-amazing-listview/ http://android.amberfog.com/?p=296 在ListView创建类别? Android的ListView的头 http://code.google.com/p/android-amazing-listview/ http://android.amberfog.com/?p=296 Creating categories in a ListView? Android ListView Headers