Android的ListView的节头 [英] Android ListView section header
本文介绍了Android的ListView的节头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有创建的Android 的ListView
部分标题任何内置的方式?如果没有什么是这样做的,使用XML标记尽可能最简单的方法?
Are there any built-in ways for creating Android ListView
section headers? If not what is the easiest way for doing so, using XML markup as far as possible?
推荐答案
没有。你可以让你自己的实现,或者使用第三方库。我建议你用你希望他们坚持在列表顶部的这一个案件中:
No. You can make your own implementation or use a third-party library. I suggest you to use this one in case you want them to stick at the top of the list:
<一个href=\"https://github.com/emilsjolander/StickyListHeaders\">https://github.com/emilsjolander/StickyListHeaders
这篇关于Android的ListView的节头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文