@@ -29,9 +29,6 @@ public void NotifyItemInserted(IItemsViewSource source, int startIndex)
29
29
if ( IsValidAdapter ( ) )
30
30
{
31
31
_adapter . NotifyItemInserted ( startIndex ) ;
32
-
33
- var changedCount = _adapter . ItemCount - startIndex ;
34
- _adapter . NotifyItemRangeChanged ( startIndex , changedCount ) ;
35
32
}
36
33
}
37
34
@@ -40,10 +37,6 @@ public void NotifyItemMoved(IItemsViewSource source, int fromPosition, int toPos
40
37
if ( IsValidAdapter ( ) )
41
38
{
42
39
_adapter . NotifyItemMoved ( fromPosition , toPosition ) ;
43
-
44
- var minPosition = System . Math . Min ( fromPosition , toPosition ) ;
45
- var changedCount = _adapter . ItemCount - minPosition ;
46
- _adapter . NotifyItemRangeChanged ( minPosition , changedCount ) ;
47
40
}
48
41
}
49
42
@@ -58,9 +51,6 @@ public void NotifyItemRangeInserted(IItemsViewSource source, int startIndex, int
58
51
if ( IsValidAdapter ( ) )
59
52
{
60
53
_adapter . NotifyItemRangeInserted ( startIndex , count ) ;
61
-
62
- var changedCount = _adapter . ItemCount - startIndex ;
63
- _adapter . NotifyItemRangeChanged ( startIndex , changedCount ) ;
64
54
}
65
55
}
66
56
@@ -69,9 +59,6 @@ public void NotifyItemRangeRemoved(IItemsViewSource source, int startIndex, int
69
59
if ( IsValidAdapter ( ) )
70
60
{
71
61
_adapter . NotifyItemRangeRemoved ( startIndex , count ) ;
72
-
73
- var changedCount = _adapter . ItemCount - startIndex ;
74
- _adapter . NotifyItemRangeChanged ( startIndex , changedCount ) ;
75
62
}
76
63
}
77
64
@@ -80,9 +67,6 @@ public void NotifyItemRemoved(IItemsViewSource source, int startIndex)
80
67
if ( IsValidAdapter ( ) )
81
68
{
82
69
_adapter . NotifyItemRemoved ( startIndex ) ;
83
-
84
- var changedCount = _adapter . ItemCount - startIndex ;
85
- _adapter . NotifyItemRangeChanged ( startIndex , changedCount ) ;
86
70
}
87
71
}
88
72
0 commit comments