关于如何在同时使用 Cursors 和 Custom SimpleCursorAdapter 时在 ListView 中生成部分,我有点不知所措。
许多文档都提到了使用 getView() 等,或者创建多个适配器并添加节标题。
但这些似乎都是基于 BaseAdapters、ListAdapters 和 ArrayAdapters 等
有没有人以前处理过类似的事情?
如果没有,关于如何使这项工作有任何提示吗?
谢谢 西蒙
最佳答案
如果您使用的是 CursorAdapter,您可以使用我的 SectionCursorAdapter .
关于android - 带有 Android 部分的 SimpleCursorAdapter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4640731/