kastork
11/07/2017, 1:01 AMkastork
11/07/2017, 1:01 AMkastork
11/07/2017, 1:01 AMitem
is always nullkastork
11/07/2017, 1:02 AMamanda.hinchman-dominguez
11/07/2017, 1:08 AMkastork
11/07/2017, 1:09 AMkastork
11/07/2017, 1:09 AMamanda.hinchman-dominguez
11/07/2017, 1:12 AMkastork
11/07/2017, 1:13 AMkastork
11/07/2017, 1:13 AMkastork
11/07/2017, 1:15 AMamanda.hinchman-dominguez
11/07/2017, 1:16 AMkastork
11/07/2017, 1:16 AMkastork
11/07/2017, 1:17 AMmodel.item
amanda.hinchman-dominguez
11/07/2017, 1:23 AMkastork
11/07/2017, 1:24 AMby inject()
never seems to instantiate item
amanda.hinchman-dominguez
11/07/2017, 1:29 AMamanda.hinchman-dominguez
11/07/2017, 1:30 AMamanda.hinchman-dominguez
11/07/2017, 1:31 AMkastork
11/07/2017, 1:33 AMamanda.hinchman-dominguez
11/07/2017, 1:46 AMkastork
11/07/2017, 1:51 AMkastork
11/07/2017, 1:52 AMViewModel
not an ItemViewModel
amanda.hinchman-dominguez
11/07/2017, 1:54 AMkastork
11/07/2017, 1:59 AMkastork
11/07/2017, 2:10 AMItemViewModel
field as the assigned property, it would be helpful. I can't seem to get the Type to work right. If I bind(MyItemModel::someIntProperty) as Property<Int>
, it compiles but myModel.item
never populates. If I bind { item?.someIntProperty?.toProperty() as Property<Int>
it compiles but I get null cannot be cast to non-null type javafx.beans.property.Property<kotlin.Int>
. If I bind { item?.someIntProperty?.toProperty() as IntegerProperty
it does not compile (None of the following functions can be called with the arguments supplied: ...
)kastork
11/07/2017, 2:36 AMby inject()
doesn't instantiate the item and isn't supposed to. commit()
also doesn't (and I suppose isn't supposed to).kastork
11/07/2017, 2:38 AM10
where the item
is manually instantiated.amanda.hinchman-dominguez
11/07/2017, 2:38 AM