W3cubDocs

/Kotlin

setValue

open fun setValue(
    thisRef: Any?, 
    property: KProperty<*>, 
    value: T)

Overrides ReadWriteProperty.setValue

Sets the value of the property for the given object.

Parameters

thisRef - the object for which the value is requested.

property - the metadata for the property.

value - the value to set.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.properties/-observable-property/set-value.html