diff --git a/src/Uno.Extensions.Reactive.UI/Presentation/Bindings/BindableImmutableList.cs b/src/Uno.Extensions.Reactive.UI/Presentation/Bindings/BindableImmutableList.cs index 8f654499d..7c4ac0939 100644 --- a/src/Uno.Extensions.Reactive.UI/Presentation/Bindings/BindableImmutableList.cs +++ b/src/Uno.Extensions.Reactive.UI/Presentation/Bindings/BindableImmutableList.cs @@ -41,7 +41,9 @@ public class BindableImmutableList : BindableEnumerable private protected override CollectionChangeSet GetChanges(IImmutableList previous, IImmutableList current) - => _analyzer.GetChanges(previous ?? ImmutableList.Empty, current); + // '_analyzer' might be null when the base.ctor subscribe to the 'property' and invokes the 'OnOwnerUpdated' + // We can safely fallback on ListFeed.DefaultAnalyzer as in that case the 'previous' will be null/empty anyway. + => (_analyzer ?? ListFeed.DefaultAnalyzer).GetChanges(previous ?? ImmutableList.Empty, current); private protected override IImmutableList Replace(IImmutableList? items, TItem oldItem, TItem newItem) {