You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure but this binding may gets garbage collected with the current implementation. Can you please create a PR for it with tests that proves, that this works?
Hi @simonsilvalauinger
thanks for your feature request. I think that @sialcasa is correct and your code example wouldn't work in practice because the Binding EasyBind.monadic(op).map(Objects::nonNull) will be garbage collected because no reference exists.
But besides this of cause your initial request is valid and the parameter could also be of type ObservableValue<Boolean>. The reason for using ObservableBooleanValue in the first place was that the internal implementation is easier because it provides a binding for logical AND.
In #389 I have created an low-level-binding instead and changed the parameter type.
Existing code will not break because ObservableBooleanValue extends ObservableValue<Boolean>.
It's more abstract and give you the freedom to do inline bindings.
This code
would be reduced to
The text was updated successfully, but these errors were encountered: