How to generate a ListView with headers above some sections?

前端 未结 4 802
清歌不尽
清歌不尽 2020-12-03 12:55

I want to generate a ListView that has some dividers between some of the entries, like it can be seen in some of the property sections. See the example below. I

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 13:10

    You can use my SectionedAdapter, if GPLv3 is acceptable (licensed that way due to some upstream code). You can use my MergeAdapter, if you need something more flexible and with a less-limiting license (Apache 2).

提交回复
热议问题