Join Slack
Powered by
<@U14ECM2KV> It depends. If the defaults are globa...
# tornadofx
e
edvin
12/20/2017, 6:40 PM
@ron
It depends. If the defaults are globally hard coded, I usually put the default values in a companion object and chuck them right into the observable:
val ageProperty = SimpleIntegerProperty(Person.defaultAge)
4
Views
Open in Slack
Previous
Next