W3cubDocs

/Kotlin

Package kotlin.properties

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

Types

Delegates

object Delegates

Standard property delegates.

ObservableProperty

abstract class ObservableProperty<T> : 
    ReadWriteProperty<Any?, T>

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

ReadOnlyProperty

interface ReadOnlyProperty<in R, out T>

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

ReadWriteProperty

interface ReadWriteProperty<in R, T>

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

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.properties/