stream stream - 1 month ago 12
Android Question

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

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.

Answer

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.

Comments