Releases: FileOnQ/Prism.Popups.XCT
Releases · FileOnQ/Prism.Popups.XCT
8.1.97-dev.1
Prism Popups for XCT - 8.1.97-dev.1
8.1.97-dev.1 is our first pre-release of our Xamarin Community Toolkit plugin for Prism Popups. This has basic functionality and support for Prism Popups in 8.1.97 of Prism.
Getting started
NuGet
Add the pre-release NuGet to your shared code and platform projects
Setup
Add the following code to your App.xaml.cs. There is no need for any additional platform initialization.
protected override void RegisterTypes(IContainerRegistry containerRegistry)
{
containerRegistry.UseXctPopups();
containerRegistry.RegisterDialog<SamplePopup>("sample");
}Show Popup
public class MainViewModel
{
IDialogService dialogService;
public MainViewModel(IDialogService dialogService) =>
this.dialogService = dialogService;
void ShowPopup() =>
this.dialogService.ShowDialog("sample");
}Sample Code
See the sample project for a detailed example