Skip to content
Discussion options

You must be logged in to vote

Thanks to @pictos, I found a solution.

await _popupService.ShowPopupAsync(nav, laPopup); //don't exist
await _popupService.ShowPopupAsync(nav, laPopup); //don't exist
await nav.ShowPopupAsync(laPopup); //exist <<<<

I don't know why this call with a view parameter exist as an extension method of Navigation & Page but not in the PopupService itself.
So now i'm getting a transiant popup from the container that i initiate with data and... pass it to the viewmodel via the famous Opened event. Then nav.ShowPopupAsync();

I've updated my repo with a solution to my problem for those in needs : https://github.com/Skarzag/PopupV2NavigationWithParameters
Hope it will help !

Don't you think you should…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@Skarzag
Comment options

@bijington
Comment options

@Skarzag
Comment options

@bijington
Comment options

@Skarzag
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by pictos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants