Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 4, 2024. It is now read-only.

Helps MAUI developers implement lifecycle triggers in Pages of Shell, NavigationPage or TabbedPage.

License

Notifications You must be signed in to change notification settings

Zaibatsu89/maui-lifecycle-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MAUI lifecycle helper

Support

Support for Zaibatsu89 maui-lifecycle-helper ended on May 4, 2024.

Zaibatsu89 maui-lifecycle-helper is succeeded by Plugin MAUI lifecycle helper as described by template Plugin MAUI feature.

To all our developers and contributors, thank you so much for being a part of our community. We'll see you all over in Plugin MAUI lifecycle helper!

About

Helps MAUI developers implement lifecycle triggers in Pages of Shell, NavigationPage or TabbedPage.

Setup

public App : Application
{
    protected override Window CreateWindow(IActivationState activationState)
    {
        Window window = base.CreateWindow(activationState);
        return Zaibatsu89.MauiLifecycleHelper.Manager.Init(window, MainPage);
    }
}

Usage

using Zaibatsu89.MauiLifecycleHelper;

public MyPage : ContentPage, IPageActivated, IPageDeactivated
{
    public void OnActivated()
    {
        // the app is activated
        // after being deactivated
    }

    public void OnDeactivated()
    {
        // the app is deactivated
        // after being activated
    }
}

Changelog

  • Version 1.0.1
    • Updated "Microsoft.Maui.Controls"
  • Version 1.0.0

About

Helps MAUI developers implement lifecycle triggers in Pages of Shell, NavigationPage or TabbedPage.

Topics

Resources

License

Stars

Watchers

Forks

Languages