Package-level declarations

Standard implementations of delegates for /docs/reference/delegated-properties.html and helper functions for implementing custom delegates.

Types

Link copied to clipboard
object Delegates

Standard property delegates.

Since Kotlin 1.0
Link copied to clipboard
abstract class ObservableProperty<V>(initialValue: V) : ReadWriteProperty<Any?, V>

Implements the core logic of a property delegate for a read/write property that calls callback functions when changed.

Since Kotlin 1.0
Link copied to clipboard
fun interface PropertyDelegateProvider<in T, out D>

Base interface that can be used for implementing property delegate providers.

Since Kotlin 1.4
Link copied to clipboard
fun interface ReadOnlyProperty<in T, out V>

Base interface that can be used for implementing property delegates of read-only properties.

Since Kotlin 1.0
Link copied to clipboard
interface ReadWriteProperty<in T, V> : ReadOnlyProperty<T, V>

Base interface that can be used for implementing property delegates of read-write properties.

Since Kotlin 1.0