Adam Pedley

About Adam Pedley

Microsoft MVP (Xamarin) | Exrin | Xamarin Forms Developer | Melbourne, Australia | Open to sponsorship to Canada or US

Platform Specifics in Xamarin Forms

Platform specifics allow you to enhance a control in Xamarin Forms on a particular platform. Now you can add specific platform only properties to Xamarin Forms controls, starting with Xamarin Forms 2.3.3, in Shared and PCL based projects in either code behind or XAML. Built-in Platform Specifics Xamarin Forms comes with built-in platform specifics. You have two […]

Read More >

Native Views in XAML from a PCL

Native Views are views native to each platform and they can be embedded in a Shared or PCL project in XAML. As of Xamarin Forms 2.3.3+ you can take controls only native to one platform and place them in a Xamarin Forms view. Its actually incredibly easy. Caveats Before we get started here are some […]

Read More >

Xamarin Forms Visual Previewer

A Visual Designer to view your XAML pages is one of the most requested features of Xamarin Forms. Xamarin now has the XAML Previewer for Xamarin Forms available in Visual Studio and Xamarin Studio. Unfortunately it isn’t a Visual Designer, its a Visual Previewer, but you can view XAML files for Android and iOS directly in the […]

Read More >

The Advanced Navigation of Exrin in Xamarin Forms

Exrin is an MVVM framework, with higher levels of abstraction that most other frameworks. It is designed for Xamarin Forms but has no dependency on Xamarin Forms. It certainly pushes its opinions on how your project should be set up, but in doing so gives some very advanced navigation features with relative ease. Exrin is […]

Read More >

Operation Separation

Operation Separation is my term for separating commands, think ICommand, that are called in a ViewModel, into a separate Operation class and then having a common service handling the result. This means the operation in a ViewModel does not actually cause the navigation or display of a dialog but merely processes user input and state into […]

Read More >

UrhoSharp 3D Moving Object

Following on from the Introduction to UrhoSharp in Xamarin Forms, we are now looking at creating a 3D moving object. If you haven’t read the first post, please do before continuing as this based on the final result of that post. To create a 3D moving object we need to create a scene, add components and […]

Read More >

Introduction to UrhoSharp in Xamarin Forms

UrhoSharp.Forms is a Xamarin Forms component that enables cross platform development using Urho3D, a lightweight and powerful 3D Game Engine. UrhoSharp.Forms uses the UrhoSharp Xamarin Libraries, which are bindings for the community based Urho3D project. Getting Started UrhoSharp supports iOS, Android and UWP. Xamarin has provided a UrhoSharp Template that you can use, however I am […]

Read More >

Configuration Files In Xamarin Forms

The Xamarin Forms framework does not include a way to read configuration files out of the box, much like ASP.NET. Because of this, many developers hard code static values. In these configuration files developers will normally put API uri’s, local DB connection strings etc. However this makes it hard to manage, especially when going into […]

Read More >

Navigating in Xamarin Forms

Switching pages in Xamarin Forms is simple, once you understand the core concepts of setting the MainPage or using a page with navigational abilities. Main Page In App.cs or App.xaml.cs you will have an assignment to your MainPage. MainPage = new ContentPage() { Content = new Label() { Text= “Hello World” } }; A TabbedPage, ContentPage, NavigationPage can be […]

Read More >

Xamarin Android 9-Patch Image Splashscreen

Splashscreen images for Xamarin Android can be tricky to create, as you must account for portrait and landscape modes in a large array of possible screen resolutions and density’s. Fortunately, Android has a solution for this called a 9-Patch image. This post teaches you how to create a 9-Patch image and correctly scale them for portrait […]

Read More >