Skip to content

Commit 89a081e

Browse files
committed
Fix OnAppend -> OnAppend insted of OnInsert
1 parent 118e68e commit 89a081e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

VirtualizingCollection/Pageing/PaginationManager.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,8 +957,9 @@ public int OnAppend(T item, object timestamp, bool isAlreadyInSourceCollection =
957957
var edit = this.GetProviderAsEditable();
958958
if (edit != null && !isAlreadyInSourceCollection)
959959
{
960-
edit.OnInsert(index, item, timestamp);
960+
//==>edit.OnInsert(index, item, timestamp);
961961
//TODO<-edit.OnAppend(item, timestamp);
962+
edit.OnAppend(item, timestamp);
962963
}
963964
else if (!isAlreadyInSourceCollection)
964965
{

VirtualizingCollection/VirtualizingCollection.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<HintPath>..\..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Activities.dll</HintPath>
1818
</Reference>
1919
<Reference Include="WindowsBase">
20-
<HintPath>..\..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\WindowsBase.dll</HintPath>
20+
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7\WindowsBase.dll</HintPath>
2121
</Reference>
2222
</ItemGroup>
2323

0 commit comments

Comments
 (0)