Xamarin Forms User Control

Xamarin Forms doesn’t have a control called a User Control, similar to what you might be familar with in WPF. However we can make any VisualElement, or combination of VisualElement’s into a reusable control, to use on different pages, just like a User Control. Create Control Create a new ContentView. Going into the XAML, while […]

Read More >

Xamarin Background Tasks

Background Tasks are a way to run a task, in the background, outside the lifecycle of your mobile app. This is different than running in a background thread, in some cases, it is running in a completely different process. Background tasks enable you to run code at specific intervals, or have tasks continue to run, even if […]

Read More >

Xamarin Forms Timer

A timer will execute a piece of code on a timed interval. In Xamarin, each platform has its own native timer, and the Xamarin Forms timer translates to this. There is no System.Threading.Timer in the more common profile 259 or 111 based PCL’s, however if you use .NET Standard, you will have access to System.Threading.Timer. […]

Read More >

Xamarin Forms ListView Grouping

The ListView control is the go to control for displaying a list of data in Xamarin Forms. It contains a number of features, one of which allows the grouping of data. This allows you to separate a list with headings. You get to style the headings however you want, just as you would with each […]

Read More >

Visual Studio 2017, .NET Standard and Xamarin

Visual Studio 2017 will change the way we work with .NET Standard. If you have .NET Standard projects now, you will have seen the project.json file. Project.json is now dead and buried, and everything has moved back into the csproj file. This also means no more .xproj file. Note: A simpler post on how to Upgrade […]

Read More >

Troubleshooting Connecting to Xamarin Mac Agent

Couldn’t connect to mac.local. Please try again. This problem appears more than I would like and it is due to a variety of issues. These normally occur after upgrades or setting up your Mac Build Host for the first time. Connecting To The Mac Agent You have a Mac setup and Visual Studio running and […]

Read More >