XAMARIN: DATA STORAGE USING FILE SYSTEM

CoverPicture.PNG

Photo credits to HDLOST

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.

Continue reading

XAMARIN: Data Storage Using Preference

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).

Continue reading

XAMARIN: GETTING STARTED WITH PRISM – MESSAGING

MainImage

Image credit to Technofeedia

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

Continue reading

XAMARIN: GETTING STARTED WITH PRISM 6 (PART 3) – NAVIGATION

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

Continue reading

C# – Designing Applications using Interface

Interface.jpg

Image credit shakespearsglobe

We always hear the word Interface when we are creating Systems whether it be in Java or C# language. We all know that Interfaces are just binding contracts between two different entity or Classes. Another reason to implement Interfaces is too have a more decoupled system or a more cleaner Separation of Concerns. But sometimes like me, has a hard time grasping the true value of Interfaces in creating a program.

Continue reading

C#: Design Patterns – Singleton

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.

Continue reading

Xamarin: GETTING STARTED WITH PRISM 6 (PART 2) – Command

XamarinMainImage

Image Credit to TechCrunch

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.

Command

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.

Continue reading