Prateek
10/01/2017, 6:55 PMkarelpeeters
10/01/2017, 6:58 PMPrateek
10/01/2017, 6:59 PMkarelpeeters
10/01/2017, 7:02 PMfoo.bar = 5
is compiled down to foo.setBar(5)
. Notice how you're not actually using a public property? Trying to call Kotlin from Java just makes this distinction clear.Prateek
10/01/2017, 7:03 PMkarelpeeters
10/01/2017, 7:03 PMPrateek
10/01/2017, 7:04 PMkarelpeeters
10/01/2017, 7:04 PM