In this post I’ll show how to properly use the MVVM (Model – View – ViewModel) design pattern in Xamarin Forms with ListView and CollectionView.
In this tutorial I’ll show you how to improve the performance of your apps for android and iOS using the Compile Bindings on Xamarin.Forms.
The MVVM and Fody
\nThe MVVM (Model, View, ViewModel) pattern helps you to organise and structure your code to create better apps.\n\nWith this pattern you can split your code in 3 main parts:\n\nModel: Where you put your data\n\nViewModel: It’s the logic of your app and a link between the Model and the View\n\nView: It’s the UI of your app (usually written in XAML)
We are going to show step by step how to create a Checkbox for Xamarin.Forms with a very simple code without the use of Custom Renderers.\n\nThis checkbox will work on every platform: Android, iOS, UWP… and the final result will be something like…