My app has a popup display that asks a user to select a photo, or take a photo.
The popup takes some incoming arguments that specify the parent record information.
When the camera function takes the photo it stores the image in the database along with the parent record data so it can be recovered later.
Here's the problem.
PopupView is non
awaitable. So when the user gets the popup to select camera vs existing picture, the code has already continued along, so I cannot simply make the page refresh it's record from the DB after the photo has been taken.
I am pretty sure I am seriously overthinking this (I have a tendency to do this). I saw that there is an external lib I can NuGet
AwaitablePopups, it overloads
RG.Plugins.Popup. But I am trying to limit my use of external libs, I already have a dozen or more from
SyncFusion elements, etc. I know they are more or less a commonplace for OOP now, and the larger projects are typically quite stable.
I guess this boils down to opinion, and preference, but what would be the best method to use in other peoples opinion?