Replace get() and set() to getValue() and setValue() (property delegates)
This commit is contained in:
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
class Delegate {
|
||||
var name = ""
|
||||
fun get(t: Any?, p: PropertyMetadata): String = name
|
||||
fun getValue(t: Any?, p: PropertyMetadata): String = name
|
||||
}
|
||||
|
||||
fun Delegate.propertyDelegated(p: PropertyMetadata) { name = p.name }
|
||||
|
||||
Reference in New Issue
Block a user