Use BindableListView.NotifyItemDataModified in tutorial to improve performance

This commit is contained in:
vczh
2023-12-26 21:02:25 -08:00
parent 7781befdc4
commit 0086b17854
3 changed files with 9 additions and 6 deletions
@@ -122,12 +122,6 @@ public:
birthday = _birthday;
phone = _phone;
address = _address;
vint index = category->contacts.IndexOf(this);
if (index != -1)
{
category->contacts.NotifyUpdate(index, 1);
}
}
};