FunctionZero.Maui.MvvmZero
1.1.0
See the version list below for details.
dotnet add package FunctionZero.Maui.MvvmZero --version 1.1.0
NuGet\Install-Package FunctionZero.Maui.MvvmZero -Version 1.1.0
<PackageReference Include="FunctionZero.Maui.MvvmZero" Version="1.1.0" />
paket add FunctionZero.Maui.MvvmZero --version 1.1.0
#r "nuget: FunctionZero.Maui.MvvmZero, 1.1.0"
// Install FunctionZero.Maui.MvvmZero as a Cake Addin #addin nuget:?package=FunctionZero.Maui.MvvmZero&version=1.1.0 // Install FunctionZero.Maui.MvvmZero as a Cake Tool #tool nuget:?package=FunctionZero.Maui.MvvmZero&version=1.1.0
FunctionZero.Maui.MvvmZero
NuGet package here
MvvmZero for MAUI.
If you have used MvvmZero for Xamarin, you'll probably be able to work out how to use this by looking at the SampleApp.
Features:
Ths is an exceptionally lightweight library based on ViewModel
driven navigation.
Setup and present any Page with any associated ViewModel ...
pageService.PushPageAsync<ResultsPage, ResultsPageVm>((vm) => vm.Init("vm.Init (or any method) is called on your ResultsPageVm before the push" );
Connect the pageService to your IoC container to delegate object creation.
Implement IHasOwnerPage
or derive from MvvmZeroBasePageVm
to expose lifecycle events and other goodies to your ViewModels automatically.
Other goodies:
- PageTimer
- LatchDelayMachine
- and more...
QuickStart:
Look at MauiProgram.cs for registrations.
Look at App.xaml.cs to get things off the ground.
The rest is basically the same as found in the Xamarin Turorial
Is anybody out there?
The more stars I get, the sooner I'm likely to write up some proper documentation, and even a sample app tutorial. 😉
Whilst you're here, take a look at Maui.zBind and tell all your friends. It's already included in FunctionZero.Maui.MvvmZero.
If you target WinUI, you'll want to make your pages Transient until this MAUI bug is fixed.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-android33.0 is compatible. net7.0-ios was computed. net7.0-ios16.1 is compatible. net7.0-maccatalyst was computed. net7.0-maccatalyst16.1 is compatible. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net7.0-windows10.0.19041 is compatible. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- FunctionZero.CommandZero (>= 1.1.0)
- FunctionZero.Maui.zBind (>= 1.1.0)
-
net7.0-android33.0
- FunctionZero.CommandZero (>= 1.1.0)
- FunctionZero.Maui.zBind (>= 1.1.0)
-
net7.0-ios16.1
- FunctionZero.CommandZero (>= 1.1.0)
- FunctionZero.Maui.zBind (>= 1.1.0)
-
net7.0-maccatalyst16.1
- FunctionZero.CommandZero (>= 1.1.0)
- FunctionZero.Maui.zBind (>= 1.1.0)
-
net7.0-windows10.0.19041
- FunctionZero.CommandZero (>= 1.1.0)
- FunctionZero.Maui.zBind (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
8.0.3 | 154 | 3/31/2024 | |
8.0.2 | 101 | 3/31/2024 | |
8.0.1 | 244 | 1/7/2024 | |
8.0.0 | 181 | 10/21/2023 | |
8.0.0-pre1 | 76 | 10/14/2023 | |
2.0.4.2-pre1 | 149 | 8/26/2023 | |
2.0.4.1 | 196 | 8/20/2023 | |
2.0.4 | 149 | 8/19/2023 | |
2.0.3 | 237 | 7/8/2023 | |
2.0.2 | 153 | 6/27/2023 | |
2.0.1 | 148 | 6/26/2023 | |
2.0.0 | 174 | 4/23/2023 | |
2.0.0-pre1 | 131 | 4/22/2023 | |
1.1.2 | 237 | 3/29/2023 | |
1.1.1 | 225 | 3/21/2023 | |
1.1.0 | 239 | 3/18/2023 | |
1.0.2 | 222 | 3/16/2023 | |
1.0.1 | 214 | 3/15/2023 | |
1.0.0 | 237 | 3/15/2023 |
Initial releases! You have been warned! :)
Fixes and enhancements for IHasOwnerPage when root page is a Flyout.
No consideration yet for modal pages, may or may not work.