Standard implementations of delegates for delegated properties and helper functions for implementing custom delegates.
Standard property delegates.
object Delegates
Implements the core logic of a property delegate for a read/write property that calls callback functions when changed.
abstract class ObservableProperty<V> : ReadWriteProperty<Any?, V>
Base interface that can be used for implementing property delegate providers.
fun interface PropertyDelegateProvider<in T, out D>
Base interface that can be used for implementing property delegates of read-only properties.
fun interface ReadOnlyProperty<in T, out V>
Base interface that can be used for implementing property delegates of read-write properties.
interface ReadWriteProperty<in T, V> : ReadOnlyProperty<T, V>
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.properties/index.html