jschneider
12/01/2018, 7:35 PMinternal class BindingsTest {
@Test
internal fun testBindings() {
val fooProperty: IntegerProperty = SimpleIntegerProperty(7)
val periodProperty: ReadOnlyObjectProperty<Int> = SimpleObjectProperty<Int>()
.apply {
bind(objectBinding(fooProperty) {
fooProperty.get()
})
}
println("Result ${periodProperty.get()}")
}
}
What am I doing wrong? Any ideas/hints?