diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-01-31 13:47:47 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-01-31 13:47:47 +0100 |
commit | c6cfbbf4b949707981c399be63e540ed10efad29 (patch) | |
tree | 96f6fa35f5ec9cd873d31cccc0d1bfb302f520b4 /examples/showcase/src/main | |
parent | bfbca8460894af40dd53380c8f0d3384a470bc41 (diff) | |
download | kvision-c6cfbbf4b949707981c399be63e540ed10efad29.tar.gz kvision-c6cfbbf4b949707981c399be63e540ed10efad29.tar.bz2 kvision-c6cfbbf4b949707981c399be63e540ed10efad29.zip |
Kotlinx JSON serialization
Diffstat (limited to 'examples/showcase/src/main')
-rw-r--r-- | examples/showcase/src/main/kotlin/com/example/DataTab.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/showcase/src/main/kotlin/com/example/DataTab.kt b/examples/showcase/src/main/kotlin/com/example/DataTab.kt index 8a38e001..ed690340 100644 --- a/examples/showcase/src/main/kotlin/com/example/DataTab.kt +++ b/examples/showcase/src/main/kotlin/com/example/DataTab.kt @@ -1,7 +1,7 @@ package com.example import com.lightningkite.kotlin.observable.list.observableListOf -import pl.treksoft.kvision.data.DataComponent +import pl.treksoft.kvision.data.BaseDataComponent import pl.treksoft.kvision.data.DataContainer import pl.treksoft.kvision.form.check.CHECKBOXSTYLE import pl.treksoft.kvision.form.check.CheckBox @@ -20,7 +20,7 @@ class DataTab : SimplePanel() { val panel = VPanel(spacing = 5) - class DataModel(checked: Boolean, text: String) : DataComponent() { + class DataModel(checked: Boolean, text: String) : BaseDataComponent() { var checked: Boolean by obs(checked) var text: String by obs(text) } |