Trust-Anchor-Group / NeuroAccessMaui

Contains a Maui App for TAG Neuro-Access.
Other
3 stars 0 forks source link

Popup progress #3

Closed berggrenmille closed 6 months ago

berggrenmille commented 6 months ago

2 new services

Mini docs

Popup pages/views should now inherit from BasePopup While Popup ViewModels should inherit from either BasePopupViewModel ReturningPopupViewmodel (Popups that can return a value, ex. a bool, string etc)

The Viewmodels has a virtual method OnPop which can be overriden for logic when popup closes

The ServiceRef.PopupService.PushAsync can be awaited if a ReturningPopupViewmodel is sent with it.