I) Traditional Xamarin Approach
ii) Portable Class Library(PCL)
In this tutorial we discuss Portable Class Library(PCL(More Code-Sharing, all native)).
In Xamarin Forms(PCL) are use XAML to provide developer to implement user interface. If we want to develop mobile app in Xamarin. Forms, it's provide best feature to develop only one user-interface and code to run on all mobile platform.
Some best Feature PCL:
> 40+pages, layout, and controls
> Build from code behind or XAML.
> Two-way data binding.
> Navigation.
> Animation API.
> Dependency Service
> Messaging Center.
So What is Xamarin Pages?
Xamarin Pages are the mobile app screen. In iOS represent as a View Controller, In Windows represent page and In Android each page represent as like activity.
Types of Pages:
Content Page, Maser Detail Page, Navigation Page , Tabbed Page, Templated Page, and Carousel Page.
Example
Just Open Visual Studio and select New Project, Create Cross-Platform project:
Open Visual Studio 2015 Community
Introduction:
Just Run Application:
Finish
No comments:
Post a Comment