Alexander Suraphel
10/29/2021, 11:42 AMgetValue
and setValue
need to marked with operator
keyword?henrikhorbovyi
10/29/2021, 2:00 PMval message: String by delegate
Alexander Suraphel
10/29/2021, 2:02 PMby
is an operator, just a soft keywordhenrikhorbovyi
10/29/2021, 2:04 PMby
can be used on simple classes too
https://kotlinlang.org/docs/delegation.htmlAlexander Suraphel
10/29/2021, 2:07 PMby
as clause not an operator, right?henrikhorbovyi
10/29/2021, 2:11 PMhenrikhorbovyi
10/29/2021, 2:12 PMhenrikhorbovyi
10/29/2021, 2:12 PMAlexander Suraphel
10/29/2021, 2:16 PMReadWriteProperty
which ObservableProperty
inherits from defines them as `operator`s 🙂henrikhorbovyi
10/29/2021, 2:17 PMAlexander Suraphel
10/29/2021, 2:24 PMAlexander Suraphel
10/29/2021, 2:38 PMhenrikhorbovyi
10/29/2021, 2:51 PMandylamax
10/30/2021, 2:29 AM