Skip to content

Releases: FileOnQ/Prism.Popups.XCT

8.1.97-dev.1

21 Jul 18:19
7f6b029
Compare
Choose a tag to compare
8.1.97-dev.1 Pre-release
Pre-release

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

FeedOnQ

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