ListView separators using a CursorAdapter

后端 未结 2 1676
难免孤独
难免孤独 2021-02-15 12:07

I have a ListView which is populated using a CursorAdapter. I\'d also like to have some separators in my ListView. I have accomplished this with an ArrayAdapter, but I\'m not

相关标签:
2条回答
  • 2021-02-15 12:52

    Here's some examples: http://bartinger.at/listview-with-sectionsseparators/

    http://sunil-android.blogspot.com/2013/08/section-header-listview-in-android.html

    Projects: http://code.google.com/p/android-section-list/

    http://code.google.com/p/android-amazing-listview/

    Best,

    0 讨论(0)
  • 2021-02-15 12:55

    Also this one: http://code.google.com/p/android-section-list/, here section header is "sticky" at the top of the list which makes it really nice.

    0 讨论(0)
提交回复
热议问题