Loading a page (or anything!) from a XAML string in Xamarin.Forms

Loading controls and pages from a XAML string

I have seen this question come across pages like Stackoverflow a couple of times: “how can I load a page from a XAML string at runtime?”. Up until a little while ago this was hard, now it’s pretty easy! Let’s have a look at how we can load controls and even pages from a XAML … Read moreLoading a page (or anything!) from a XAML string in Xamarin.Forms

Different app icons for different configurations in Xamarin

Different app icons for different configurations in Xamarin

When you start sending out versions of your app for testing purposes in a corporate environment, it might be desirable to being able to distinguish them, or maybe even run two version simultaneously. This is just one of the many situations that can be implemented by making use of the MSBuild conditions. In this post … Read moreDifferent app icons for different configurations in Xamarin

Implement grouping in the Xamarin.Forms ListView

Grouping ListView

Recently I have answered a question on StackOverflow, like I do a lot, and I thought I’d turn it into a blog post! Maybe I should make a series out of it.. In the meantime, the subject is: implementing grouping in a ListView. The sample code for this post can be found here: https://github.com/jfversluis/GroupingListViewSample Question The … Read moreImplement grouping in the Xamarin.Forms ListView

Spicing up your Xamarin app with Lottie animations

Lottie Animations

For a new version of the Have I Been Pwned app (read more on that here) I finally found myself a chance to use Lottie for the first time. With Lottie you can load awesome animations into your app in a matter of minutes! The sample code associated with this post can be found here: https://github.com/jfversluis/LottieSample … Read moreSpicing up your Xamarin app with Lottie animations

Showing PDF files in Xamarin.Forms

Show PDF files in Xamarin Forms

This will be just a quick-and-dirty blog on showing PDF files in your Xamarin.Forms application. I got the question from an Italian friend who wanted to implement this into an app, so I thought I’d share it with the rest of you! All code used in this post can be found here: https://github.com/jfversluis/pdfjs The problem Showing … Read moreShowing PDF files in Xamarin.Forms

[BOOK] Xamarin.Forms Essentials

Xamarin.Forms Essentials Featured Image

I’m back! As you may have noticed, I have been away for a little while with no new blogs or vlogs. But with good reason, and it’s called Xamarin.Forms Essentials! I have moved into a new home! But probably more important to you; I have been working on a new book as well and I’d … Read more[BOOK] Xamarin.Forms Essentials

Using iOS 11 Large Titles in Xamarin.Forms

Large Titles in iOS 11 with Xamarin.Forms

One of the new features in iOS 11 that catches your eye is the new large titles. With iOS 11 just released, I’m sure you want to incorporate the latest features into your own Xamarin apps. In this short post I will show you how. Update: see below for an easier way to do this, … Read moreUsing iOS 11 Large Titles in Xamarin.Forms

Creating flight-mode safe Xamarin apps with Akavache

Using Akavache to create flight-mode safe apps featured image

In this post we will be looking at a library called Akavache by Paul Betts. This library lets you store key/value paired data easily. You can store any arbitrary data like user settings, but it can also be used to store cached data that will expire over time. We will see what Akavache does and how we can … Read moreCreating flight-mode safe Xamarin apps with Akavache

TapGestureRecognizer in Xamarin.Forms for Android

Just a very quick and dirty post for other people who might be looking for this. TL;DR the TapGestureRecognizer doesn’t work for more than two taps in Xamarin.Forms. The problem with TapGestureRecognizer Yesterday I spent a too big amount of time looking for the cause of my TapGestureRecognizer not working for Android. Observe the code underneath: I … Read moreTapGestureRecognizer in Xamarin.Forms for Android

Implementing value converters with IValueConverter for Xamarin.Forms

Value Converters Featured Image

When using Xamarin.Forms and the MVVM pattern within your app, at some point you are going to run into a problem. The problem is that you want to bind to a value that is not the right type. For example, you want to bind some enum value to the text color. This can easily be … Read moreImplementing value converters with IValueConverter for Xamarin.Forms