How to draw a section header in android listview just like the ios's UITableview?

后端 未结 5 1294
不思量自难忘°
不思量自难忘° 2020-12-04 12:51

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.

5条回答
  •  再見小時候
    2020-12-04 13:26

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

    And

    android-amazing-listview

    Jeff Sharkey's SeparatedListAdapter

    MergeAdapter by CommonsWare

    Thanks.

提交回复
热议问题