kastork
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: ...
)