Posts

Showing posts from November, 2015

Xamarin.Forms Walkthrough 2: The Curious Case of Code Sharing

Image
In this walk through we will discuss the detailed structure and concepts of code sharing in Xamarin.Forms. Before going into this article it will be good and helpful if you go through the following article to get into the flow of Xamarin. Xamarin.Forms Walkthrough 1 : Getting started with Xamarin Only by having a deep knowledge in Xamarin will help you to maximize your ability to share code. When we start to create a cross-platform project we will get a N+1 projects under a solution, where N represents the number of platforms you are targeting and the extra project will carry the code which will be shared across all your platforms. Before going further you must be aware of the .NET frameworks used in Xamarin. The versions of the .NET Framework that are used in Xamarin.iOS, Xamarin.Android, and Windows Phone are not full versions of the .NET Framework. They are smaller subsets designed to work more efficiently on mobile platforms. When we start to share code using Xamarin.F