Kotlin, Android App Development.
kotlin.properties.Delegates class Example { var name: String by Delegates.observable("Initial Value") { _, old, new -> println("$old -> $new") } } fun main() { val example = Example() example.name = "Kotlin Delegation" } In this example, the name property is delegated to the Delegates.observable