mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-12 01:46:38 +08:00
Use BindableListView.NotifyItemDataModified in tutorial to improve performance
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user