FreshMVVM 101:Introduction

Introduction

I love to use custom frameworks in my Xamarin forms based applications and FreshMVVM is one of the best frameworks available in the market that built for Xamarin Forms. In this series I will discussing about key features of FreshMVVM to help you build awesome Xamarin Apps

According to author Michael Ridland his GitHub says, FreshMvvm is a super light Mvvm Framework designed specifically for Xamarin.Forms. It’s designed to be Easy, Simple and Flexible.

How does it compare to other options?

  • It’s super light and super simple
  • It’s specifically designed for Xamarin.Forms
  • Designed to be easy to learn and develop (great when you are not ready for RxUI)
  • Uses a Convention over Configuration

Features

  • PageModel to PageModel Navigation
  • Automatic wiring of BindingContext
  • Automatic wiring of Page events (eg. appearing)
  • Basic methods (with values) on PageModel (init, reverseinit)
  • Built in IOC Container
  • PageModel Constructor Injection
  • Basic methods available in Model, like Alert
  • Built in Navigation types for SimpleNavigation, Tabbed and MasterDetail

Installation

NuGet

FreshMVVM is available via NuGet,

Package Manager

This can be installed by Package Manager as below code

Install-Package FreshMvvm -Version 3.0.0

.Net CLI

dotnet add package FreshMvvm –version 3.0.0

Paket CLI

paket add FreshMvvm –version 3.0.0

 Dependencies

  • System.Reactive (>= 4.0.0)
  • Xamarin.Forms (>= 3.4.0.1009999)
Share on facebook
Share on twitter
Share on linkedin
Share on email
Share on whatsapp

About the author

Divi Ravela is the Technical lead & Senior Developer at XAM. Divi has worked with Microsoft technologies for over 11+ years building software for various private sector companies, applying both technical knowledge and managerial expertise. He is a hands-on, Microsoft C# Analyst Programmer using Xamarin, AWS, Azure, and MVC as his preferred tools

Design-led problem solving delivering digital solutions.

Learn more about us.

Good at what you do?

We’re looking for the right superstars to join our team and work on growing our clients’ businesses.