回答編集履歴
1
ミスを修正
test
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
+
`if(cursor.moveToNext())`の前に`if(list == null || list.size() != 0){this.list = new ArrayList();}`を追加
|
2
|
+
|
1
3
|
`if(cursor.moveToNext())`を`while(cursor.moveToNext())`に変更
|
2
4
|
|
3
|
-
`if (list != null && list.size() != 0) `を
|
5
|
+
`if (list != null && list.size() != 0) `を削除
|
4
6
|
|
5
7
|
質問から読み取れる範囲だとこれしか回答できないです。
|
6
8
|
|