Xamarin.Common.Mvvm 1.0.0

Install-Package Xamarin.Common.Mvvm -Version 1.0.0
dotnet add package Xamarin.Common.Mvvm --version 1.0.0
<PackageReference Include="Xamarin.Common.Mvvm" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.Common.Mvvm --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xamarin.Common.Mvvm, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xamarin.Common.Mvvm as a Cake Addin
#addin nuget:?package=Xamarin.Common.Mvvm&version=1.0.0

// Install Xamarin.Common.Mvvm as a Cake Tool
#tool nuget:?package=Xamarin.Common.Mvvm&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Xamarin.Common.Mvvm

Xamarin.Forms package with useful classes and services for working with MVVM. Now, in version 1.0.0, it contains three major features: base classes, behaviors and services.

Base Classes

For now, it only has a base class that is BindableBase, which is pretty self explanatory. It provides base methods for working with PropertyChanged, like RaisePropertyChanged and SetProperty.

Behaviors

In the moment, it only has a behavior, based on Prism EventToCommandBehavior. It consist of a generic behavior which we can use with any XAML element and convert an event to a command.

Services

We have four services implemented:

  • EncryptionService: a pretty useful service for encrypting string. It generates a 256 encrypted value.
  • NavigationService: self-explanatory, not complete, but working for basic/mid projects.
  • PageDialogService: service for working with action sheets and alerts.
  • PropertiesService: service for working with the application properties.

License

MIT License.

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
1.0.0 453 1/3/2019

1.0.0
BindableBase, EventToCommandBehavior, IEncryptionService, INavigationService, IPageDialogService and IPropertiesService.