23 lines
700 B
C#
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()
|
|
{
|
|
|
|
}
|
|
}
|