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

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

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