Replace get() and set() to getValue() and setValue() (property delegates)
This commit is contained in:
@@ -4,9 +4,9 @@ var a: Int by Delegate()
|
||||
private set
|
||||
|
||||
class Delegate {
|
||||
fun get(t: Any?, p: PropertyMetadata): Int {
|
||||
fun getValue(t: Any?, p: PropertyMetadata): Int {
|
||||
return 1
|
||||
}
|
||||
|
||||
fun set(t: Any?, p: PropertyMetadata, i: Int) {}
|
||||
fun setValue(t: Any?, p: PropertyMetadata, i: Int) {}
|
||||
}
|
||||
Reference in New Issue
Block a user