Package-level declarations

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

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.1
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.1
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 ReadOnlyProperty<in T, out V>

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

Since Kotlin 1.1
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.1
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