1
2
|
2
1
要使用CursorAdapter(或其任何子类),您需要有“\u id”列; it's explicitly stated in the documentation . 这是因为CursorAdapter大量使用此列。
我怀疑如果您控制数据库,那么#1将更容易执行,但是如果您无法更改数据库的模式,那么您必须执行#2。 |
Abhilash Das · 输入文本时,编辑文本与工具栏重叠 1 年前 |
Community wiki · 局部变量可能尚未初始化 1 年前 |
jvargas · 如何获取上个月的第一天和最后一天以及一年的第一天 1 年前 |