July 2018
Intermediate to advanced
242 pages
8h 6m
English
val initialValue = 1
val initialValue = 1val changesListener: (KProperty<*>, Int, Int) -> Unit = { _, _: Int, newValue: Int -> println("Current temperature: $newValue") }
val initialValue = 1val changesListener: (KProperty<*>, Int, Int) -> Unit = { _, _: Int, newValue: Int -> println("Current temperature: $newValue") }var temperature: Int by Delegates.observable(initialValue, changesListener)
Read now
Unlock full access