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: […]
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 […]
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 […]
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 […]
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 […]
AdMob In Xamarin.Forms – Display Google Ads In Your Mobile App
AdMob is a company that provided the ability to display ads in your mobile app. It is now a part of Google, and hence you may hear it referred as Firebase Ads or Google Mobile Ads. You can use this on iOS or Android. No other platform is currently supported at the time of this […]
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, […]
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 […]
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 […]
In-Memory Caching in Xamarin
Caching in mobile apps is sometimes necessary, to help speed up your app from continuous requests for the same resources, or help alleviate issues due to poor network speed. Caching is a little more complex than just providing a store for values. You want to remove items from your cache when they expire and even […]