New methods to override for ViewModelBase in TinyMvvm

In the latest preview of TinyMvvm, 4.0.1-pre4, there are new methods added to the ViewModelBase class. The new methods will make it easier to handle App lifecycle events in a ViewModel. For example, if you want to unsubscribe from an event when the app goes to sleep. Before you had to handle this in the […]

  12/29/2021 - 6:04 AM

TinyMvvm for .NET MAUI – Preview

TinyMvvm is an open-source project I started back in 2017 primary to be used in my own apps, both private projects, and client projects. I recently released 3.0 that has been in preview for a long time and I used it in apps I have shipped to the app stores. After the 3.0 release, I […]

  11/16/2021 - 11:26 AM

GitHub Actions and Cake for TinyMvvm

To build and publish TinyMvvm I have used Azure Pipelines and a classic build pipeline together with a release pipeline. For the upcoming 3.0 release (in preview right now) I have migrated the pipeline to GitHub Actions. There are several reasons for that: I want to make the CI/CD open so all can see what […]

  11/26/2020 - 9:28 AM

TinyMvvm for Xamarin.Forms

My session from Xam Expert Day is published on YouTube:

  10/7/2020 - 10:02 AM

TinyMvvm 2.4.1

Today, I released a new version of TinyMvvm, 2.4.1. The release contains this: Added ShellViewBase to optimize how ViewModels are created. Before the ViewModel was created during OnAppearing when using Shell navigation. It also ran Initialize during OnAppearing. But there are cases where you want it to run earlier, so I added a new class […]

  7/13/2020 - 11:43 AM

Improvments to TinyInsights

Today I released TinyInsights 1.1.7 with some improvements. I have removed so it will not await when sending events to providers anymore. The reason is that it affected one of my apps in a negative way when I was tracking page views in the OnAppearing (when using Xamarin.Forms) method for a view. Also, users experienced […]

  7/6/2020 - 1:23 PM

Autofac vs TinyIoC

I recently added a resolver that is powered by TinyIoC to TinyMvvm because I got a request to do so because they said that performance was better. I have used Autofac for many years and I have never had any problems with it. But I decided to replace Autofac with TinyIoC in one app that […]

  6/17/2020 - 9:12 AM

TinyIoC for TinyMvvm

There was an issue created for TinyMvvm regarding to use TinyIoC as the IoC-container. I had created an implementation of IResolver for Autofac. But now I decided to create one for TinyIoC too. The implementation for it can be installed via the NuGet package, TinyMvvm.TinyIoC, https://www.nuget.org/packages/TinyMvvm.TinyIoC. The code for setting up the container and the […]

  6/16/2020 - 9:22 AM

Snippets for TinyMvvm

This blog post is a part of the Xamarin Month, a great initiative by Luis Matos. The theme for this Xamarin Month is code snippets. Here is my contribution to the Xamarin Month. TinyMvvm is a library that I created to make me more productive when I developing apps with Xamarin.Forms. Snippets All snippets are […]

  6/11/2020 - 1:00 AM

Get started with TinyMvvm

This is a tutorial that will guide you through how to get started building an app using Xamarin.Forms and TinyMvvm. Create a new project based on the template for a blank Xamarin.Forms app. In this example, the name of the project will be SampleApp. The template will generate one project for shared code and one […]

  6/10/2020 - 8:38 PM

TinyMvvm 2.2 – Shell Navigation Updates

Today I released TinyMvvm 2.2 (2.2.2). In this version I have added support for passing parameters when navigating with ShellNavigationHandler. You can now use both query parameters and passing a object as a parameter. So in your ViewModel with ViewModelBase as the base class you can use it like this: var persons = new List<string>() […]

  6/4/2020 - 7:09 AM

TinyMvvm 2.1.1 – Introducing ViewModel navigation

Today I released TinyMvvm 2.1.1. The release contains the following: Updated Xamarin.Forms dependency so it has dependency on the lastest stable version of Xamarin.Forms. ViewModel navigation ViewModel navigation The idea about ViewModel navigation is from Shane Neuville from the Xamarin.Forms team, he reviewed TInyMvvm in one of his live streams on Twitch. During the stream […]

  5/28/2020 - 9:49 PM

Introducing TinyMvvm 2.0

TinyMvvm is a library that I created a couple of years ago. The idea was to build a small (tiny) MVVM library that made me more productive. I first released TinyNavigationHelper that helped med to abstract the Xamarin.Forms navigation, because I do not want my ViewModels to have references to Xamarin.Forms. Last time I updated […]

  4/21/2020 - 9:45 PM

Introducing TinySvgHelper

For a pretty long time I have had code that I have used for a couple of different apps that uses SkiaSharp to convert an svg image to a Xamarin.Forms ImageSource. I also blogged about it two years ago, https://danielhindrikes.se/index.php/2018/03/13/use-skiasharp-to-convert-svg-to-xamarin-forms-imagesource/. But I never released it as a library until now. Get started with TinySvgHelper The […]

  3/31/2020 - 9:42 AM

TinyCache 2.0

TinyCache, https://github.com/TinyStuff/TinyCache, is an open-source library created by Mats Törnberg and it is a part of the collection of libraries that we call TinyStuff. It is a library that makes caching a little bit easier. Today we are releasing version 2.0 of TinyCache. In the first version, you could only have a single instance of […]

  11/26/2019 - 9:20 AM

TinyNavigationHelper for Xamarin.Forms

TinyNavigationHelper is a helper that I created together with Johan Karlsson for a project where I don’t want to install a separate MVVM framework, but I still wanted to have an abstraction for the Navigation so that I could handle navigation in my ViewModels without having a reference to Xamarin.Forms in the ViewModels. The reason […]

  9/14/2017 - 9:48 AM