Reactive Properties in Xamarin Forms

In this post, we will look at using Xamarin Forms in a more reactive manner, which will give more control over validation and synchronous UI updates, with potential to easily add custom animations.

The primary components for a Xamarin Forms mobile app are view models, presenters, services, repositories, business layers, DTOs etc. All interaction with a mobile app can be thought of as a series of asynchronous events handled by the view model. All interactions with the underlying layer, i.e… [Keep reading] “Reactive Properties in Xamarin Forms”

ViewModel-first approach in Xamarin forms

There are primarily 3 patterns to choose when developing mobile applications. They are MVC, MVVM and MVP. For a detailed discussion about them check Xamarin application architecture.
The focus of this post will be around MVVM pattern. One of the earliest and most stable MVVM libraries for Xamarin has been the MVVM Cross library Like most libraries, this also followed a ViewModel-first approach. What this means, that the focus of the developer is always on the ViewModel and the data in the application.… [Keep reading] “ViewModel-first approach in Xamarin forms”

Enterprise-ready testing in Xamarin

As focus moves towards mobile-first development, enterprise developers should also focus on automated testing. In an enterprise setting, we like to test for merge conflicts, sync issues, authentication failures, etc and we need to test this on hundreds of devices.
In this post, we will look at how we can set UI test project and application code so that we can test against scenarios that we face in a real-life situation (no connection, sync issues, authentication failures).… [Keep reading] “Enterprise-ready testing in Xamarin”

Xamarin Application Architecture

In this post, I will talk about strategies for developing a cross-platform Xamarin application with a focus on code sharing, increasing testability, and reducing overall development and maintenance efforts.
The application architecture is itself problem specific, but there are certain design patterns that can guide the overall structure of the application. The ones I mostly work with are Model-View-Controller, Model-View-Presenter, and Model-View-ViewModel.
MVC should be adopted for small applications or proof of concept. Since Android and iOS both natively support MVC, it will mean fewer roadblocks and faster implementation.… [Keep reading] “Xamarin Application Architecture”

Mobile-first development with Xamarin

 
Modern application users have high expectations for applications, even for in-house enterprise apps.  IT leaders realising this have adopted a mobile-first development approach, which ensures great user experience, reduce overall development and maintenance cost. In this post I will provide an example of a mobile-first development project for an enterprise application.
 Business case
A retailer is using Windows CE devices for performing daily tasks in it stores and is planning to move to the latest Android / iOS devices.… [Keep reading] “Mobile-first development with Xamarin”