Share Dialog with Xamarin Forms

When your mobile app creates or receives its own content, in the form of a file, you may want to share it. This could include sharing with, Facebook, Email, SMS or any other app that has registered support for the file type. For example PDF readers can handle a PDF, or Facebook and other apps […]

Read More >

Introduction to Reactive Extensions (Rx.NET)

Reactive Extensions have been around for many years, and is available to most development environments. In this post, we are specifically going to look at Rx in terms of .NET development in Xamarin Forms. Rx is just a library for composing asynchronous, and event-based code with observables, and configuring it via LINQ. Now let’s break down that […]

Read More >

Bindable Properties in Xamarin Forms

Binding is the process of connecting a BindableProperty to a property in the BindingContext. The most common scenario for this is a property in UI Element to a property in the ViewModel. Have a look at Binding in Xamarin Forms, if you are unfamiliar with binding. When you are binding to a property in your […]

Read More >

Xamarin Forms Binding

Binding, in the most common context, is the process of mapping a property on a Page, to a property in a ViewModel. In Xamarin Forms terms, the Page is a BindableObject and the BindableObject has a BindingContext, which would be the ViewModel. Most UI Elements on the Page, will also be a BindableObject, inheriting their […]

Read More >

Connecting To A Remote Database in Xamarin Forms

A common question, especially for those new to Xamarin, who may be coming from a web background, is how do I connect to a remote database from my mobile app? Working with a client application is different than a server based application, as you don’t have direct access to any server based resources, such as […]

Read More >

Xamarin Forms Dependency Injection

Calling native platform code in your portable class library (PCL) is achievable via Dependency Injection. It’s a common question for people starting out, who are using a PCL or .NET Standard Library for developing their Xamarin apps. Dependency Injection involves creating an interface that can be commonly applied across all native platforms, then coding the […]

Read More >

Xamarin Forms Toolbar

The Xamarin Forms Toolbar is an abstraction of the extensions you can add to the NavigationBar on each platform. ToolbarItems are the individual items you add to the NavigationBar. The difficult part with this abstraction, is the need for it to be separate or included in the navigation bar. In this post, I will go through how […]

Read More >

Xamarin Forms DataTemplateSelector

The DataTemplateSelector is a class that lets you change the data template you want to use, in a ListView or CarouselView, depending upon the type of data for each item, in the list. Rather than making a complex ViewCell or ItemTemplate, you can design each one specifically for the type of data you want. As […]

Read More >

WebView Rendering Engine Configuration

Part 5 of Xamarin Forms WebView Advanced Series   The WebView isn’t very configurable at the Xamarin Forms level, however each platform provides a large array of configuration settings for their native control. These settings are very different per platform, which makes it understandable, why they wouldn’t be configurable in a cross platform framework. An […]

Read More >

Cookie Sharing with WebView and the Http Client

Part 4 of Xamarin Forms WebView Advanced Series   Despite their age, cookies remain just as relevant in today’s web as they were when originally introduced. The WebView will handle cookies similar to a regular browser. When making web calls via the native http client, this service also reads and stores cookies as you load […]

Read More >