如何绘制Android的列表视图节头就像IOS的UITableView的? [英] How to draw a section header in android listview just like the ios's UITableview?

查看:68
本文介绍了如何绘制Android的列表视图节头就像IOS的UITableView的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想提请在Android的列表视图就像联系人应用程序做了一些栏目标题。 当列表视图中拖动的节头会断然移动,谢谢。

I want to draw some section headers in android listview just like the Contacts app did. When the listview was dragged the section headers will move flatly,thanks.

推荐答案

只要看看这个的 Android的 - 在列表视图例如剖开的头,它很好地描述了如何实现在列表视图分区域标题

Just look at this Android – Sectioned Headers in ListViews example, Its nicely describe how to implement Sectioned Headers in ListViews.

Android的惊人-列表视图

杰夫·夏基的SeparatedListAdapter

MergeAdapter由CommonsWare

感谢。

这篇关于如何绘制Android的列表视图节头就像IOS的UITableView的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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