-
Notifications
You must be signed in to change notification settings - Fork 14
Bindings
Egor Badmaev edited this page Feb 5, 2023
·
1 revision
A type of object that publishes a message after the object has changed.
final class Observable<T>
Simple binding implementation Observable
properties.
T
is a generic type of anything. You can make any type observable.
- Bind some handler that will set new value to the variable
- Check that value has changed
Same thing as previous one, but w/o binding, so the value won't change