From dbe9ddafc5f48ccf0979625b041b0cdf1c1f5795 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 20 Jan 2020 13:35:43 +0100 Subject: Fix tabulator module dependencies --- src/main/kotlin/pl/treksoft/kvision/state/ObservableList.kt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/kotlin/pl') diff --git a/src/main/kotlin/pl/treksoft/kvision/state/ObservableList.kt b/src/main/kotlin/pl/treksoft/kvision/state/ObservableList.kt index 7d41e05c..44e115eb 100644 --- a/src/main/kotlin/pl/treksoft/kvision/state/ObservableList.kt +++ b/src/main/kotlin/pl/treksoft/kvision/state/ObservableList.kt @@ -35,6 +35,10 @@ interface ObservableList : MutableList, ObservableState> { class ObservableListWrapper(val mutableList: MutableList = mutableListOf()) : MutableList, ObservableList, ObservableState> { + override fun getState(): List { + return this + } + override fun subscribe(observer: (List) -> Unit): () -> Unit { onUpdate += observer observer(this) -- cgit