Scanning and Generating Barcodes with ZXing on Xamarin.Forms

Scanning and Generating Barcodes with ZXing on Xamarin.Forms

Barcodes are still very much present in our daily lives. It’s a quick and easy way to store and read information or show a unique identifier on an object. It is not a big surprise that scanning barcodes is something that is often requested in apps. While mobile devices often aren’t specialized in these kinds … Read moreScanning and Generating Barcodes with ZXing on Xamarin.Forms

MaxLines on Labels in Xamarin.Forms

MaxLines on Labels in Xamarin.Forms

Hot off the press, another PR just got merged into the Xamarin.Forms repository. This time, adding a new feature on a Label, the ability to specify MaxLines. This will be available in a near-future Xamarin.Forms version on iOS, Mac OS, Android, and UWP. What can you do with MaxLines With the new property MaxLines, you … Read moreMaxLines on Labels in Xamarin.Forms

Grouped ListView with Alternate Row Color in Xamarin.Forms

Grouped ListView with Alternate Row Color in Xamarin.Forms

As a follow-up on my previous post about alternate row colors in a ListView, this question was posted on StackOverflow. The poster of the question wants to implement alternate row coloring on his grouped ListView. How can I implement it with a grouped listview? I want to have the alternate row color inside every group … Read moreGrouped ListView with Alternate Row Color in Xamarin.Forms

Detecting binding errors with LogWarningsToApplicationOutput in Xamarin.Forms

In a previous blog, which can be read here, I already described how you can detect binding errors in Xamarin.Forms. As a result of that blog, I opened a pull request on the Xamarin.Forms repository to add this as a feature instead of a hack. Let me tell you about this new upcoming feature in … Read moreDetecting binding errors with LogWarningsToApplicationOutput in Xamarin.Forms

Alternate Row Color in Xamarin.Forms ListView

Alternate Row Color in Xamarin.Forms ListView

When browsing on StackOverflow today, I came across a question that was asking how to set an alternate row color on a ListView. Of course, multiple solutions are available. But I thought I would implement it with a DataTemplateSelector. In this post, I will do a quick write-up of the details. The code for this … Read moreAlternate Row Color in Xamarin.Forms ListView

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