UIModalPresentationStyle.FormSheet in Xamarin.Forms

UIModalPresentationStyle.FormSheet in Xamarin.Forms

A pull request I created has just been merged into Xamarin.Forms! It is a small change, but I thought I’d let you know. You are now able to set the modal presentation to¬†UIModalPresentationStyle.FormSheet for iOS, causing the modal to be opened as a popup on iPad. At the time of writing, the PR has just … Read moreUIModalPresentationStyle.FormSheet in Xamarin.Forms

Detecting Xamarin.Forms Binding Errors in the Output Window

I was browsing through the Xamarin.Forms issues, and found this particular one. It describes adding the ability to detect binding errors in Xamarin.Forms. I was triggered by this because I think it would make a nice addition. Detecting binding errors can help to prevent you from spending precious time on a typo. This functionality is … Read moreDetecting Xamarin.Forms Binding Errors in the Output Window

Reduce network traffic with HTTP conditional requests

Reduce network traffic with HTTP conditional requests

On mobile, bandwidth counts. It is not unlimited and can even impose costs on your users. One way to reduce the bandwidth usage is implementing HTTP conditional requests. In this post, I will explain to you what they are and how to use them. What Are HTTP Conditional Requests? First of all: HTTP conditional requests … Read moreReduce network traffic with HTTP conditional requests

Network Resilience For Your App With Polly

Network Resilience For Your App With Polly

In this post we will learn about a great library called Polly. With this library we can define policies (you can see where the name came from) on how to deal with failed network requests. This library provides you with easy to use code that let’s you retry, fallback or define other methods to deal … Read moreNetwork Resilience For Your App With Polly

Sending Push Notifications from a Azure Function

Sending Push Notifications from a Azure Function

For a recent project I needed to implement a prototype for sending push notifications. Of course the backend will be the source of these push messages, but we wanted to show something to the customer today. For this, I have put together a small but simple Azure Function that allows me to send a custom … Read moreSending Push Notifications from a Azure Function

Custom Fonts with Xamarin.Forms Revisited

Custom Fonts on Xamarin.Forms Revisited

In a post from way back, I have written how to implement custom fonts on iOS and Android. Recently, a Twitter follower asked me for some sample code for this, since I couldn’t get it to work. I quickly started working on it, but soon found out that the code in the post was a … Read moreCustom Fonts with Xamarin.Forms Revisited

No more certificate hassle with Fastlane in Visual Studio for Mac

No more certificate hassle with Fastlane in Visual Studio for Mac

If you have been working on iOS applications, you probably have pulled your hair out at some point. The signing of the application binary can be a real brain teaser. While there is no way around it, Microsoft is on a mission to automate it as much as possible. Enter Fastlane. Out with the old… … Read moreNo more certificate hassle with Fastlane in Visual Studio for Mac

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