KenjiPcx / Diabot

A glucose management / carb logger app with a virtual assistant
2 stars 3 forks source link

💡 Use a Messaging Center to update view all items page when crud operation is performed #30

Open KenjiPcx opened 1 year ago

KenjiPcx commented 1 year ago

Before this, when I made the Diabot base app, I didn't know how to reload the items in the view all items pages, so I passed a reload query param when a crud operation is performed, which requires more api calls and its quite wasteful.

The mvvm community toolkit has the Messaging class and we can use that to update our local collections instead