Package kotlin.properties
Standard implementations of delegates for delegated properties and helper functions for implementing custom delegates.
Types
Delegates
Standard property delegates.
object
Delegates
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
>
PropertyDelegateProvider
Base interface that can be used for implementing property delegate providers.
fun
interface
PropertyDelegateProvider
<
in
T
,
out
D
>
ReadOnlyProperty
Base interface that can be used for implementing property delegates of read-only properties.
fun
interface
ReadOnlyProperty
<
in
T
,
out
V
>
ReadWriteProperty
Base interface that can be used for implementing property delegates of read-write properties.
interface
ReadWriteProperty
<
in
T
,
V
>
:
ReadOnlyProperty
<
T
,
V
>