1
votes

How can I create a custom dialog/popup in Xamarin Forms, that works with Prism's navigation?

Prism supports an IPageDialogService which is great, but doesn't allow customization of the content of that dialog.

I'd like to have a simple ok/cancel popup that allows various UI controls (ie, entry fields, radio buttons, etc). I tried incorporating the Rg.Plugins.Popup but it requires you use a their PopupNavigation service, and I'd rather avoid using different navigation patterns.

1
You have to create CustomRenders for that. Or try Acr.UserDialogRohit Vipin Mathews

1 Answers

3
votes

Prism.Plugin.PageDialogs provides a custom PageDialogService for Prism.Forms using the Popup plugin. Prism.Plugin.Popups.Unity provides a extensions to INavigationService to allow Prism friendly navigation for Popup Pages. There is a package for each of the Prism.Forms supported containers.

Both are currently pre-release, but hopefully they help solve your problem.