Kotlin, Android App Development.
observableProperty: String by Delegates.observable("Initial Value") { _, old, new -> // This block will be executed whenever the value of observableProperty changes println("Property changed from $old to $new") } // Usage observableProperty = "New Value" // This will trigger the observer 3.