edvin
09/11/2016, 7:08 AMDate
and Date?
for a Property
, and others that know and care about it from a semantic standpoint. You might also use a class from a Kotlin lib that is defined this way, so you can't change it. There are some good reasons to support it IMO, and it might help to solve confusion as to why one can't use bind with those properties. I remember I actually ran into it myself early on. For these reasons I think we should support this both here and in other places if we come across it in the future. What do you think?edvin
09/11/2016, 7:19 AMedvin
09/11/2016, 8:06 AMedvin
09/11/2016, 8:07 AMRuckus
09/11/2016, 9:50 AMvar value by someProperty
is Type?
when someProperty
is Property<Type?>
, but is actually Type!
when someProperty
is Property<Type>
.Ruckus
09/11/2016, 9:53 AMsomeProperty.value
(nullable if specifically declared, otherwise platform type).Ruckus
09/11/2016, 9:55 AMRuckus
09/11/2016, 9:55 AMRuckus
09/11/2016, 10:01 AMbind
function for ViewModel
(and the property
function to go along with it). Since the code change will be pretty much the exact same, I'll ask Jonathan if he can make the change as part of his PR.edvin
09/11/2016, 10:14 AMeryzhikov
09/11/2016, 11:33 AMeryzhikov
09/11/2016, 11:34 AMedvin
09/11/2016, 11:36 AMeryzhikov
09/11/2016, 11:42 AMeryzhikov
09/11/2016, 11:43 AMeryzhikov
09/11/2016, 11:43 AMPasted image at 2016-09-11, 7:43 AM▾
eryzhikov
09/11/2016, 11:45 AMedvin
09/11/2016, 11:47 AMthomasnield
09/12/2016, 2:06 AMthomasnield
09/12/2016, 2:08 AMron
09/12/2016, 6:38 AMedvin
09/12/2016, 6:49 AMedvin
09/12/2016, 6:49 AMedvin
09/12/2016, 6:55 AMKotlinObjectProperty
PR. Without a default value you could still get an NPE if you try to extract the value before it is set, correct?edvin
09/12/2016, 7:00 AMron
09/12/2016, 7:28 AMedvin
09/12/2016, 7:31 AMron
09/12/2016, 7:32 AMedvin
09/12/2016, 7:49 AMSmartResize.POLICY
for TableView
- do you think this would be a good fit for ControlsFX?