Package kotlin.properties

Standard implementations of delegates for delegated properties and helper functions for implementing custom delegates.

Types

Common
JVM
JS
Native
1.0

Delegates

Standard property delegates.

object Delegates
Common
JVM
JS
Native
1.0

ObservableProperty

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>
Common
JVM
JS
Native
1.4

PropertyDelegateProvider

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

fun interface PropertyDelegateProvider<in T, out D>
Common
JVM
JS
Native
1.0

ReadOnlyProperty

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

fun interface ReadOnlyProperty<in T, out V>
Common
JVM
JS
Native
1.0

ReadWriteProperty

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

interface ReadWriteProperty<in T, V> : ReadOnlyProperty<T, V>