Hello,
Welcome to our Microsoft Q&A platform!
If you want to fetch the entire latest contacts.
First, open your App.xaml.cs
, Use IContactsService contactsService;
to get all of contacts, here is all of App.xaml.cs
code.
Then open your MainPage.xaml.cs
, We can send contacts(did not add new records) to AddContactPage
. Here is all of code about MainPage.xaml.cs
.
In the end, open AddContactPage.xaml.cs
. Compare two list(add new record and not add new record list), we can fetch the entire latest contacts in MessagingCenter.Subscribe
method.
Due to this site issue, I cannot post code, So I update my code with .txt file.
Best Regards,
Leon Lu
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.