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

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

3D Touch your Xamarin(.Forms) app: apply pressure to icon area

3D Touch in action on iPhone 6s

Now that I have got a new iPhone 7 that supports 3D Touch it’s about time to have a play with that! In case you have missed it, 3D Touch (or Force Touch) is a concept that Apple introduced with the iPhone 6s (Plus) and iOS 9. It lets you press the screen a bit … Read more

Unlocking native control features the Xamarin.Forms way

While Xamarin did a great job with Forms in providing us with a set of controls that can be used creating our awesome UI, they didn’t (and couldn’t) enable all of the features that come with a Button or Label or.. whatever! So they did the basics, which is absolutely fine! But when you are … Read more