Skip to content

Commit

Permalink
Modified the List Combiner to pass through refresh notifications from…
Browse files Browse the repository at this point in the history
… the source lists.
  • Loading branch information
Wouterdek committed Jul 1, 2019
1 parent 0443619 commit df17275
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions DynamicData/List/Internal/Combiner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,13 @@ private IChangeSet<T> UpdateResultList(IChangeSet<T> changes, List<ReferenceCoun
if (shouldBeInResult)
{
if (!isInResult)
{
resultList.Add(item);
}
else if (change.Reason == ListChangeReason.Refresh)
{
resultList.Refresh(change.Current);
}
}
else
{
Expand Down

0 comments on commit df17275

Please sign in to comment.