fun <T : Node> T.managedWhen(expr: () -> ObservableValue<Boolean>): T
This extension function will automatically bind to the managedProperty of the given node and will make sure that it is managed, if the given expr returning an observable boolean value equals true.
See Also
fun <T : Node> T.managedWhen(predicate: ObservableValue<Boolean>): <ERROR CLASS>
This extension function will automatically bind to the managedProperty of the given node and will make sure that it is managed, if the given predicate an observable boolean value equals true.
See Also