groostav
02/16/2017, 10:19 PMmiha-x64
02/16/2017, 10:20 PMgroostav
02/16/2017, 10:21 PMsreich
02/16/2017, 10:22 PMgroostav
02/16/2017, 10:23 PMsreich
02/16/2017, 10:23 PMsreich
02/16/2017, 10:23 PMsreich
02/16/2017, 10:24 PMgroostav
02/16/2017, 10:24 PMclass Thingy{
  var property: Model
    private set;
}class Thingy{
  var property: Model
    private set;
  fun updateProperty(newModel: Model) {
    property = newModel
  }
}two methods have the same JVM signaturefun setPropetymiha-x64
02/16/2017, 10:24 PMwhyMany things IDE generates for Java (Constructors, Getters and Setters) can be just written in Kotlin, that's why 🙂
groostav
02/16/2017, 10:25 PMgroostav
02/16/2017, 10:25 PMsreich
02/16/2017, 10:26 PMsreich
02/16/2017, 10:26 PM