如何在 Android 中将标题添加到列表视图
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10730445/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to add Header to List View In Android
提问by AmyWuGo
Just as title... I am new. Could someone give me some easy examples, Thank you!
正如标题...我是新来的。谁能给我一些简单的例子,谢谢!
采纳答案by CMA
回答by Ram kiran
There are so many ways of adding Headersto list view
将标题添加到列表视图的方法有很多种
For Sticky Header, check this.
For Android Categorized listview with heading, check this this.
You can find source code at this
For android-amazing-listview, check this
These are the examples of Different types of list view.
这些是不同类型列表视图的示例。