-
I'm trying to collect some data from a user using a Popup -- CommunityToolkit.Maui version 12.0.0 -- and return it to the view model that calls the Popup. Say, I want to return a I understand the returned result will be an
This tells me I can't cast the response to Also, when I look at the more detailed documentation here, I notice that the actual popup is not a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry, this was a simple cast operation! It works fine!
|
Beta Was this translation helpful? Give feedback.
Sorry, this was a simple cast operation! It works fine!
IPopupResult<SurveyResults> response = (IPopupResult<SurveyResults>) await _popupService.ShowPopupAsync<MyPopupViewModel>(Shell.Current);