Adam Pedley

About Adam Pedley

Mobile Developer | Build Flutter

More Functional ViewModels In Xamarin.Forms With C#

Xamarin.Forms is designed around MVVM, a two-way binding between a View and ViewModel. But with this comes an array of potential state issues. You have no control over the flow and timing of Visual State updates to your ViewModel. Hence, I decided to see if I could develop an easy enough way to overcome some […]

Read More >

Resilient Network Connectivity In Xamarin.Forms

Mobile networks are among the least reliable type of network, and your app will likely have to communicate over it, to function. But considering the potential for disruption, we have to ensure our app can accommodate any poor network conditions. HttpClient In most cases you will connect to an API via the HttpClient, like this: […]

Read More >

Running an OSS Community Sprint

Open source software is great for developers. It lets you see the internals of framework or app, and know how to best interact with it. On top of this, we can also submit code to be included, and comment on code the core maintainers are submitting. Getting developers not normally engaged in the process, to […]

Read More >

PWAs vs Xamarin.Forms

It’s a fact that doesn’t change in technology, it keeps moving forward no matter what you do. PWAs were started by Google a number of years ago and they have progressively being getting better. They allow a website to run like a native app, and this allows quicker distribution, and easier maintenance. Instead of a […]

Read More >

Time zones in Xamarin.Forms

Time zones conversions are sometimes required in mobile apps from your local time zone to another, non-UTC time zone. Time zones can be tricky due to daylight savings, meaning an offset from UTC can change during the year for a particular location. Politics can even skew this further by making daylight savings changes, as to […]

Read More >

Xamarin.Forms Search Bar

In each platform, there is a specially designed Search Bar control. It is simply a glorified entry field, but can be useful to match native designs. The search bar does nothing other than trigger a command when you press search, as well as provide a few visual enhancements. Here is a quick look at the […]

Read More >

Clone Object in C#

A quick tip on how to clone any object in your app. Sometimes you need a copy of an object, but don’t want to affect the original. You can either copy across all values to a new object manually, or even use AutoMapper. However, here I have a quick easy way to clone an object, […]

Read More >

Creating Xamarin.Android Binding Library

To reference a Jar or Aar file in your Xamarin project, you can create a binding project to access the file. This is sometimes needed if you have code written in Java or an SDK that you need to access from Xamarin. I will be doing a sample of how to bind the Google Play […]

Read More >

Should I Use A Xamarin.Forms MVVM Framework?

Xamarin.Forms is designed with MVVM in mind, and you don’t need a framework to develop a Xamarin.Forms application, with the MVVM pattern. As your application becomes, MVVM Frameworks do contain a lot of things to help you, and are certainly worth a look. What Xamarin.Forms Includes In relation to MVVM, Xamarin.Forms includes the following two […]

Read More >