Catch Logger

Catch Logger is the app that helps you keep track of your catches. It is a non-social app, which means that you keep the catches for yourself. But of course, you can share them if you want. To keep your fishing places secret we have added an edit function so you can edit and your […]

  2/9/2022 - 1:29 PM

.NET Frontend Day 2022

On Thursday 10 Feb, this year of .NET Frontend Day will be streamed with 8 great speakers talking about .NET MAUI/Xamarin, Blazor and more. Read more here: https://dotnet-frontend.com

  2/7/2022 - 6:46 AM

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

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

Framtiden för native multi-platform appar med .NET

The Code Behind med Johan Karlsson och Daniel Hindrikes är tillbaka. I första avsnittet i denna nya serie, eller The Code Behind 3.0 som vi säger pratar Daniel och Johan om framtiden för Xamarin och Xamarin.Forms och vad som händer i och med transformeringen till .NET MAUI.

  8/18/2020 - 5:38 AM

You only need a OneTime binding

When creating a binding in Xamarin.Forms, the default is that you create an OneWay binding (except for input elements that have TwoWay bindings), this means that it updates the view from the ViewModel whenever the value in the ViewModel changes. But often you don’t need a OneWay binding, you only need a OneTime binding, but […]

  8/3/2020 - 8:33 PM

Building a styleable “Content Button” using PancakeView

Sometimes you need a more flexible button than the one that is shipped with Xamarin.Forms. That was the case for me with the app I am working with right now. I wanted to be able to have more flexible content and I also wanted to style it more than I was able to when I […]

  7/14/2020 - 10:10 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

Building a Rating Control using Xamarin.Forms Shapes

In the release of Xamarin.Forms 4.7, Microsoft introduced a Shapes, an API to draw shapes without having to use an external library like SkiaSharp. In this blog post I will show how you can use Xamarin.Forms and Shapes to create a rating control without using an external library. The complete code for this control can […]

  6/30/2020 - 9:32 AM

Xamarin.Forms Projects – Second Edition

The second edition of Xamarin.Forms Projects is now published. You can buy it from Packt or Amazon. It will also be available in other book stores. More Information An example-driven guide to help you build native cross-platform mobile apps using Xamarin, .NET Core 3, and Visual Studio 2019. Set up Xamarin.Forms for building native apps […]

  6/20/2020 - 10: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

Add a swipe menu to your Xamarin.Forms app

A common pattern in mobile apps is to use a swipe menu, a menu that appears when a user is swiping an item in a list for example. We often see this in mail- and messages apps. For Xamairn.Forms ListView we had ContextActions. but they were pretty limited. But in the upcoming 4.4.0 release of […]

  12/9/2019 - 9:49 AM

DarkMode and LightMode with MergedDictionaries

iOS 13 introduces Dark Mode, David Ortinau has written a great blog post on the official Xamarin blog about Dark Mode and Xamairn.Forms, https://devblogs.microsoft.com/xamarin/modernizing-ios-apps-dark-mode-xamarin/. In this post, I will show how we can use MergedDictionaries to work with a base theme that applies both to the dark mode and the light mode. First, create two […]

  10/3/2019 - 8:51 AM

App In The Cloud – Live Code – Episode 1

Together with my friends and colleagues, Johan Karlsson and Mats Törnberg, we have started to live code on Twitch, https://www.twitch.tv/danielhindrikes. Right now we have started to build a Xamarin.Forms app from scratch, the plan is to continue to build that app, live on Twitch every Monday at 12:00 CET (Swedish time). If you missed it, […]

  8/20/2019 - 6:54 AM

The Code Behind: Xamarin.Forms 4

Det är snart dags för semester, men innan det passar Daniel och Johan på att prata genom vad som är nytt i Xamarin.Forms.

  7/4/2019 - 6:07 AM

Xamarin.Forms Visual

With Xamarin.Forms 3.6 Xamarin/Microsoft is shipping a new feature, Visual. Visual was earlier a part of the Xamarin.Forms 4.0 release, but now it was included in the Xamarin.Forms 3.6 release. Material design Visual was created with the idea to make it easy for developers to implement one common user experience for both iOS and Android. […]

  3/10/2019 - 9:06 PM

App In The Cloud: The news in Xamarin.Forms with David Ortinau

For the second episode of App In The Cloud I invited the Program Manager of Xamarin.Forms, David Ortinau. I and David are talking about how Xamarin.Forms have evolved and the news in the upcoming version of Xamarin.Forms.

  1/24/2019 - 7:11 AM

Bindable layouts in Xamarin.Forms 3.5

I am probably not the only one that has created my own RepeaterView, where I extend a StackLayout or a FlexLayout so I was able to bind a collection to them and generate content based on a template. In Xamarin.Forms 3.5 Xamarin/Microsoft introduced a new feature that they call BindableLayout. With BindableLayout it is possible […]

  1/16/2019 - 1:59 PM

Xamarin.Forms Projects

I have together with Johan Karlsson written a book Xamarin.Forms. Xamarin.Forms is a lightweight cross-platform development toolkit for building applications with a rich user interface. In this book you’ll start by building projects that explain the Xamarin.Forms ecosystem to get up and running with building cross-platform applications. We’ll increase in difficulty throughout the projects, making […]

  1/14/2019 - 7:57 AM

Siri Shortcuts with Xamarin

With iOS 12, Apple introduced Siri shortcuts. For us developers, we can create shortcuts using SiriKit. In this blog post, we will walk through how to do that in an app that we are building with Xamarin.iOS. The first step is to update our provisioning profile. Sign in to https://developer.apple.com. Go to the account page […]

  10/16/2018 - 6:25 PM

TinyMvvm – The best MVVM library for Xamarin.Forms!?

I have used many different MVVM frameworks/libraries, MvvmLight, Prism, MvvmCross etc. But I have not found any library that I think works great with Xamarin.Forms. When I created TinyNavigationHelper I had an idea about that I did not needed an MVVM library and that it was enough to have an abstraction for the navigation part, so […]

  6/26/2018 - 11:38 AM

Use SkiaSharp to convert SVG to Xamarin.Forms ImageSource

To work with images in an app project could be a hell while you need a lot of different resolution of every image. But what if we could use vector based images to create an image in the right solution? Xamarin.Forms has no support for that out of the box. But it possible to do […]

  3/13/2018 - 11:37 PM

Tool for previewing XAML – LiveXAML makes your life a little bit easier

Since Xamarin.Forms was introduced many has asked for a visual designer for building user interface like the one we have for building WPF or UWP apps. But I don’t think it is many that uses it like a designer, I think it is mostly used like a previewer of the XAML that you are writing. […]

  2/16/2018 - 9:08 AM

Xamarin.Forms – MVVM BaseView and BaseViewModel

In this post, I will describe how I have created base classes for my views and ViewModels in my latest projects. It will probably break some of the MVVM rules, but I think this is a productive way to work. Please leave a comment about your thoughts about in a comment below. First of all, […]

  3/10/2017 - 9:37 PM