0
我想将某些组的单元格与其他人分开,例如按日期。 这可能吗? 事情是这样的:为列表视图添加“断路器”
cell content1
cell content2
breaker
cell content1
cell content2
我想将某些组的单元格与其他人分开,例如按日期。 这可能吗? 事情是这样的:为列表视图添加“断路器”
cell content1
cell content2
breaker
cell content1
cell content2
检查这一个:
http://code.google.com/p/android-amazing-listview/
如果你想自己完全做到这一点,你可以设置列表中的适配器 多视图的配合使用,方法:
getItemViewType(INT)
getViewTypeCount()
在这里阅读更多: http://developer.android.com/reference/android/widget/Adapter.html
AmazingListview简直是...太神奇了! :) – Phate