回答編集履歴
1
コードの修正
test
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
```
|
6
6
|
|
7
|
-
open class Item
|
7
|
+
open class Item(
|
8
8
|
|
9
|
-
var id
|
9
|
+
@PrimaryKey open var id: Int = 0,
|
10
10
|
|
11
|
-
var text
|
11
|
+
open var text: String = ""
|
12
12
|
|
13
|
-
}
|
13
|
+
) : RealmObject() {}
|
14
14
|
|
15
15
|
```
|