Additional top-level class in compilation unit: ToggleFromVal.
| Modifier and Type | Method and Description |
|---|---|
| public static Toggle | from(ObservableValue<Boolean>
boolean value that indicates suspension of obs, Suspendable suspender.Assumed to switch the value of suspender)obs when
suspended and switch back when resumed, unless there are other suspenders
keeping it in the value corresponding to the suspended state.Creates a Toggle view of an observable boolean and a Suspendable whose suspension causes the boolean value to switch. |
| from | back to summary |
|---|---|
| public static Toggle from(ObservableValue<Boolean> obs, Suspendable suspender) Creates a Toggle view of an observable boolean and a Suspendable whose suspension causes the boolean value to switch.
| |