Xamarin.Forms MVVM DataTemplate with IndicatorView

This Xamarin how-to article shows (in my opinion) the easiest and cleanest way to implement the MVVM pattern in a DataTemplate.  The example I will be using is a 'set up wizard' using a standard Xamarin.Forms CarouselView and IndicatorView.  The example show how you can keep each 'page' in the setup wizard separate

By |2022-02-04T12:01:50+10:00February 4th, 2022|Categories: Xamarin, Xamarin.Forms|Tags: , , , , |0 Comments

Xamarin.Forms CollectionView Alternating Row Colors

Very quick Xamarin How-To this week with a simple converter. Alternating row colours in a CollectionView is quite often a design requirement and I wanted to create a simple, reusable converter to solve this. The Converter [crayon-65f971f9d71bb003808888/] Using the Converter in XAML [crayon-65f971f9d71c5378414583/]There you go, nice and simple, easy to follow

By |2021-10-20T10:46:56+10:00October 15th, 2021|Categories: Xamarin.Forms|Tags: , , |2 Comments

Xamarin.Forms Maps – Getting Location & Radius of User’s Input

Recently I have had to navigate through Xamarin.Forms Maps for a project.  After some documentation reading I found that XF Maps does not offer a lot of the customisation and functionality of the native map libraries (MapKit and Google Maps).  This left me having to write some custom renderers to complete the project's requirements.

By |2021-10-07T13:16:51+10:00October 7th, 2021|Categories: Xamarin.Forms|Tags: , , |0 Comments

Xamarin.Forms Custom WebView Headers (iOS WKWebView + Android WebView)

On a recent app I worked on, there was a requirement for authentication within a WebView.  For this to work custom request headers had to be sent through a Xamarin.Forms WebView.  This is quite standard for a lot of hybrid web applications.  I found some resources on the topic, however, all were quite outdated

By |2021-08-19T12:39:28+10:00August 19th, 2021|Categories: Xamarin, Xamarin.Android, Xamarin.Forms, Xamarin.iOS|Tags: , , , |0 Comments

Xamarin.Forms lightweight bottom sheet modal

Bottom sheets are becoming increasingly more popular in modern apps including Facebook, Instagram and Microsoft Teams.  A bottom sheet comes in three main forms including: Standard - the sheet remains visible while users can interact with the rest of the content on the screen. Modal - the sheet must be dismissed to interact with

By |2021-08-06T13:00:20+10:00July 30th, 2021|Categories: UI, Xamarin.Forms|Tags: , |3 Comments

Keeping your UI fast by using this HTTP trick to check if a remote resource exists

Frequently I find a requirement in mobile projects is to consume remote resources, whether it's images, video, audio etc, the requirement comes up fairly frequently. A common problem I found myself hitting was that when you're trying to do this with a backend or customisable content that relies on a URL is that sometimes

Migrating to Android X: Another Attempt

Due to the expanding number of packages that require Android X (namely Xamarin.Forms 5) it is essential that you can get an old project compiling and running on Android X.  This can come as quite a challenge especially to massive projects that are quite old.  Anyone who has tried to use the built in

By |2021-07-01T15:29:16+10:00July 1st, 2021|Categories: Android, Xamarin, Xamarin.Android, Xamarin.Forms|Tags: , , , |0 Comments

Fixing small text on iOS WKWebView’s in Xamarin.Forms

Even though Apple have extended the deadline to remove UIWebView's from apps until December, the requirement to update things is still there and I'm finding a lot of clients wanting to get ahead of things and move on. On several apps I work with there is HTML content within the app that's maintained by non-technical

By |2020-05-09T07:38:37+10:00May 7th, 2020|Categories: Apple, iOS, UI, Xamarin, Xamarin.Forms|2 Comments

Customising iOS Frame shadows in Xamarin.Forms 4.5+

Even with iOS 13 having been out for quite a while now and Xamarin.Forms 4.5+ bringing a lot of improvements and fixes, I still find myself having to customise things for different projects (usually for the same reason as some of my other other posts: Graphic Designers and marketing people 😂). One thing that was

By |2020-05-26T13:36:56+10:00April 7th, 2020|Categories: Apple, iOS, UI, Xamarin, Xamarin.Forms|Tags: , , , |8 Comments

Making iOS 13 segmented controls prettier in Xamarin.Forms

Following on from my last post about iOS 13, I've since had the need to update various apps that have a segmented control. I've been using Alexander Reyes cool control Segmented Control Plugin for Xamarin.Forms (I believe there are a few others out there as well) to get keep everything nicely in XAML and working

By |2019-11-22T15:39:15+10:00November 22nd, 2019|Categories: Apple, iOS, UI, Xamarin, Xamarin.Forms|Tags: , , |0 Comments
Go to Top