From c6cfbbf4b949707981c399be63e540ed10efad29 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 31 Jan 2018 13:47:47 +0100 Subject: Kotlinx JSON serialization --- examples/showcase/src/main/kotlin/com/example/DataTab.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/showcase/src/main/kotlin/com/example') 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) } -- cgit