Replies: 2 comments
-
I solved my bindings by splitting up the observables, and also i missed AutoRefreshOnObservable, heres an example:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
2nd comment |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I have the following WhenAnyValues, and I cannot figure out how to properly make the second work.
Collections are:
[Reactive]
public ObservableCollectionExtended KeywordVMs { get; set; } = new();
[Reactive]
public ObservableCollectionExtended KeywordVMs { get; set; } = new();
[Reactive]
public ObservableCollectionExtended FilteredKeywordVMs { get; set; } = new();
The first one works just fine, but when using a tuple in whenanyvalue, the FilteredKeywordVMs get's added the items incrementaly instead of being the filtered version of the collection.
I just can't find the answer, tried using Distinct and DistinctValues and other changes but couldn't make it work.
Is this (if fixed) a valid approach to have a filtered collection which you can use in another WhenAnyValue with e.g. autorefresh and also bind it to the View?
Thank you, this library changed everything : )!
Beta Was this translation helpful? Give feedback.
All reactions