In today’s article, I will discuss how to use the File System of Xamarin forms in data storage. File System storage is a great option for you if you want to store a more larger data in the file system, maybe in the form of XML or JSON file, if Preference storage is not enough for you and Database is an overkill for you.
In today’s article, I will discuss how to use the Preference in storing data. Preference is one of the different data storage strategies that Xamarin provides. It is primarily used to store small amount of data like user settings of your Mobile Application. The preference is a key value pair structure where it can only cater to simple or intrinsic data types (e.g. strings, int, bool).
For the last part of this Getting started Xamarin with Prism series, I would like to discuss about using Messaging in Xamarin forms. We will use our previous project from our Part3 of the getting started series and here is the link for the Repository: https://github.com/KirkPatrickJunsay/XamarinPrismSample
For the third part of this Getting started Xamarin with Prism series, I would like to discuss about using Navigation in Xamarin forms. We will use our previous project from our Part2 of the getting started series and here is the link for the Repository: https://github.com/KirkPatrickJunsay/XamarinPrismSample
In today’s article I would like to briefly discuss one of the commonly used design pattern in software engineering which is Singleton Pattern. Singleton pattern is usually being used if you are creating a system that only needs one instance of a class and that instance will be used throughout the lifecycle of the application. Common scenarios of using Singleton pattern is for logging, database access, etc.
For the second part of this Getting started Xamarin with Prism series, I would like to discuss on how to use Command in Xamarin forms. By the way if you missed the Part 1 of this series you can check this article.
When you say Command, for example in Win Forms it’s just an event that was fired
due to let’s say a button click or an event brought by textbox lost/on focus but in Xamarin
Commands are just methods that are directly binded from your view e.g. (Button, MenuItem, ToolbarItem) and executes the binded method in your ViewModel.