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 more

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 more

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 more

iOS UITableViewCellStyle in Xamarin.Forms

UITableViewCellStyleHeader Featured Image

In the past week, a question came across on StackOverflow for which I created a sample project. The question was: how to make the detail text of a TextCell appear on the right? I started to answer the question, as I do a lot, and quickly came across the UITableViewCellStyle in iOS. I thought it would … Read more

Get more reviews for your Xamarin.Forms app with iOS 10.3

iOS SKStoreReviewController Featured Image

With the introduction of iOS 10.3 a small, but rather useful feature was added. It’s called the SKStoreReviewController. This addition to the iOS framework can boost the number of reviews that you gather for your app. When you have released your app, it is always nice to get some recognition for it in the form of … Read more

Less repetitive code to reach REST APIs for your Xamarin.Forms app with Refit

In follow-up of my previous post about PropertyChanged.Fody, this time we will look at Refit (link). Just like implementing the INotifyPropertyChanged interface, writing code to communicate with your REST backend can produce a lot of duplicated code. Each request looks very similar and follows the same pattern; do a request to endpoint X and retrieve … Read more

[BOOK] Xamarin Continuous Integration and Delivery: Team Services, Test Cloud, and HockeyApp

Book Featured Image

*Pinch* Is this a dream?! My very own book? No it is not! I did write a book, Xamarin Continuous Integration and Delivery, and here is everything you need to know about it. A while ago I have done some blogposts on continuous integration and delivery for Xamarin apps. While doing so I got more and more … Read more

Keeping DRY with PropertyChanged.Fody for Xamarin.Forms

If you have worked with MVVM and/or data-binding before, there is a good chance that you are very familiar with the INotifyPropertyChanged interface. With this interface you can invoke an event whenever a value of a property has changed. The view notices this change, because of this event and updates the UI accordingly. While this … Read more

Working with Effects in Xamarin.Forms

When you have worked with Xamarin.Forms before you’ll know that the translation from the Forms control to a native control is done by renderers. If you, as a developer, would want to change anything about the way Forms renders it for you, you would have to subclass the whole renderer and create your custom logic … Read more

Embedding native controls in your Xamarin.Forms app

Embedding native controls in your Xamarin.Forms app header

As of version 2.3.3 and above of Xamarin.Forms it is now possible to embed native controls in your Forms app. I’ll let that sink in for a minute. Native controls, defined in XAML, from your PCL, without the need for any renderers whatsoever. Isn’t that just awesome?! Whoa! Native controls? In XAML? Awesome right?! But … Read more