<@U0F3291QE> if you ever get a minute to make an e...
# tornadofx
k
@edvin if you ever get a minute to make an example of using a Spinner component with an
ItemViewModel
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: ...
)