Permalink
Browse files

Fix: TableView doesn't reflect changes (#1931)

  • Loading branch information...
cabauman authored and glennawatson committed Jan 26, 2019
1 parent 49de639 commit e261266fa6be54de2786bed090114f0f732b6b63
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/ReactiveUI/Platforms/uikit-common/CommonReactiveSource.cs
@@ -193,9 +193,10 @@ private void SectionInfoChanged(IReadOnlyList<TSectionInfo> sectionInfo)
this.Log().Warn(CultureInfo.InvariantCulture, "[#{0}] SectionInfo {1} does not implement INotifyCollectionChanged - any added or removed sections will not be reflected in the UI.", sectionInfoId, sectionInfo);
}

var sectionChanged = notifyCollectionChanged == null ?
var sectionChanged = (notifyCollectionChanged == null ?
Observable<Unit>.Never :
notifyCollectionChanged.ObserveCollectionChanges().Select(_ => Unit.Default);
notifyCollectionChanged.ObserveCollectionChanges().Select(_ => Unit.Default))
.StartWith(Unit.Default);

var disposables = new CompositeDisposable();
disposables.Add(Disposable.Create(() => this.Log().Debug(CultureInfo.InvariantCulture, "[#{0}] Disposed of section info", sectionInfoId)));

0 comments on commit e261266

Please sign in to comment.