Computer scienceProgramming languagesKotlinObject-oriented programmingObject-oriented programming features

Building your own delegate

Parameters

Report a typo

setValue is a function used when creating our own property delegates. Match each parameter of this function with its corresponding description.

operator fun setValue(thisRef: Any?, property: KProperty<*>, value: String) {
    ...
}
Match the items from left and right columns
thisRef
property
value
It can be used to access the metadata of the delegated property.
It represents the object that contains the delegated property.
It represents the new value to be set.
___

Create a free account to access the full topic