Files
marketally.mopups/SampleMaui/CSharpMarkup/MainPage.logic.cs
2022-02-19 20:27:07 +02:00

23 lines
700 B
C#

using Mopups.Services;
using System.Diagnostics;
namespace SampleMaui.CSharpMarkup;
public partial class MainPage : ContentPage
{
public MainPage()
{
BuildContent();
MopupService.Instance.Pushing += (sender, e) => Debug.WriteLine($"[Popup] Pushing: {e.GetType().Name}");
MopupService.Instance.Pushed += (sender, e) => Debug.WriteLine($"[Popup] Pushed: {e.GetType().Name}");
MopupService.Instance.Popping += (sender, e) => Debug.WriteLine($"[Popup] Popping: {e.GetType().Name}");
MopupService.Instance.Popped += (sender, e) => Debug.WriteLine($"[Popup] Popped: {e.GetType().Name}");
}
protected override void OnAppearing()
{
}
}