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
Hi,
I'm trying to figure out how to use ObservableArray for add/remove item notifications. I am using tink_state 1.0.0-beta.2, but also tried 0.11.1. In the older version there were (already deprecated) properties observableLength and observableValues. Binding to those properties works correctly for me in 0.11.1. In 1.0.0-beta.2 they no longer work and I cannot figure out what API should I use instead.
The text was updated successfully, but these errors were encountered:
OK, so if I want to observe the values should I create Observable first, like this?
var todos = new ObservableArray<Todo>()
var obs = Observable.auto(() -> {todos.toArray();});
obs.bind(values -> listView.dataProvider = new ArrayCollection(values));
Is there any way to get more granular updates (added/deleted/updated) so I can pass them on to the rendering engine (Feathers UI)?
Hi,
I'm trying to figure out how to use
ObservableArray
for add/remove item notifications. I am using tink_state 1.0.0-beta.2, but also tried 0.11.1. In the older version there were (already deprecated) propertiesobservableLength
andobservableValues
. Binding to those properties works correctly for me in 0.11.1. In 1.0.0-beta.2 they no longer work and I cannot figure out what API should I use instead.The text was updated successfully, but these errors were encountered: