0% found this document useful (0 votes)
52 views

Introduction To Xamarin - Forms

The document discusses cross-platform mobile app development using Xamarin Forms. Xamarin Forms allows building apps with shared C# code that works across iOS, Android, and Windows. It includes UI elements like pages, layouts and controls that render natively on each platform. Xamarin Forms handles navigation and binding and integrates with third party libraries. The document provides examples of building apps with Xamarin Forms and links to documentation and sample code.

Uploaded by

Thian Christyana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views

Introduction To Xamarin - Forms

The document discusses cross-platform mobile app development using Xamarin Forms. Xamarin Forms allows building apps with shared C# code that works across iOS, Android, and Windows. It includes UI elements like pages, layouts and controls that render natively on each platform. Xamarin Forms handles navigation and binding and integrates with third party libraries. The document provides examples of building apps with Xamarin Forms and links to documentation and sample code.

Uploaded by

Thian Christyana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 44

Cross Platform Mobile App

Development with Xamarin Forms


Erick Kurniawan
[email protected]
http://actual-training.com
About Me
Education
– M.Kom, Gadjah Mada University
– Research Fellows, Hong Kong University Science and
Technology, Hong Kong
– Research Fellows, Gonzaga University, Spokane,
Washington (WA), USA
Certification
– Microsoft Certified Technology Specialist
– Microsoft Certified Professional Developer
– Microsoft Certified Trainer
Awards
– Microsoft Most Valuable Professional (MVP)
– Nokia Developer Champion
Organization
– Co-Founder Asosiasi Cloud Computing Indonesia
(ACCI)
– Ketua Komunitas Microsoft User Group Indonesia
Yogyakarta
Books

Youtube Channel: Cloudemia – Tutorial ASP Core, Xamarin


Download VS 2019 Community
Hybrid vs Native
An open source app platform
from Microsoft for
building modern
& performant
iOS, Android, macOS,
watchOS, & tvOS apps with .NET.
Xamarin

iOS C# UI Android C# UI Windows C# UI

Shared C# Logic

Shared C# codebase • 100% native API access • High performance


Xamarin Native – Traditional UI
Android & IOS APIs | 100% Coverage
Anything you can do in Objective-C, Swift, or Java
can be done in C# with Xamarin using
Visual Studio or Xamarin Studio on a Mac
Xamarin Designer
for Android
Fully integrated into Xamarin
Studio & Visual Studio

Multi-resolution editing

Easy switch between design


and Android XML

Shipping for over 2 years


Xamarin Designer for iOS
Portable Class Libraries
Xamarin Forms – Cross Platform UI
Xamarin + Xamarin.Forms

iOS C# UI Android C# UI Windows C# UI


Xamarin.Forms

Shared C# Logic Shared C# Logic

Traditional Xamarin approach With Xamarin.Forms:


More code-sharing, all native
What’s Included
 40+ Pages, Layouts, and Controls
 Build from code behind or XAML

 Two-way Data Binding


Shared UI Code
 Navigation

 Animation API

 Dependency Service

 Messaging Center
Third Party Library
https://components.xamarin.com/
Pages

Content MasterDetail Navigation Tabbed Carousel


Layouts

Stack Absolute Relative Grid ContentView ScrollView Frame


Controls
ActivityIndicator BoxView Button DatePicker Editor

Entry Image Label ListView Map

OpenGLView Picker ProgressBar SearchBar Slider

Stepper TableView TimePicker WebView EntryCell

ImageCell SwitchCell TextCell ViewCell


Third Party Components
• Telerik
• Syncfusion
• NuGet Package
Manager
Code Faster
.NET
IntelliCode
Optimized code editor - Mac
XAML IntelliSense - Mac
Build faster
.NET
SmartHotel360 Reference App
• https://github.com/microsoft/SmartHo
tel360-Mobile
Deploy faster
.NET
Android Startup Tracing
Android App Bundles
Iterate faster
.NET
XAML Hot Reload
Beautiful UI
GeoContacts & Shopping Demo

https://github.com/microsoft/Xama
Azure SQL Database
• SQL Server as a Service
• Highly available, durable, secure, fault tolerant-built-
in
• Intelligence built-in for auto-tuning and threat
detection
Navigation
 Root Page:
 NavigationPage – Gives each page an INavigation

 Standard Navigation
 Navigation.PushAsync(page: nextPage);
 Navigation.PopAsync();

 Modal Navigation
 Navigation.PushModalAsync(page: modalPage);
 Navigation.PopModalAsync();
Resources
 Documentation
 http://developer.xamarin.com/guides/cross-platform/xamarin-forms/

 XAML Documentation
 http://developer.xamarin.com/guides/cross-platform/xamarin-forms/xaml-for-
xamarin-forms/

 Samples
 https://github.com/xamarin/xamarin-forms-samples

You might also like