xamarin.forms - building cross platform mobile apps
TRANSCRIPT
Xamarin.Forms - Building Cross
Platform Mobile AppsNotes:
If you experience audio issues during the webinar, you can dial in through telephone details provided to you in your registration confirmation email.
Please feel free to post questions in the questions dialog and we will try to answer as many as we can at the end.
Recording of this session will be shared in next 24-48 hours.
You can also write to us at [email protected] for any clarifications or information.
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Session Speaker
Amit Dubay
Director – Mobility & Cloud
WinWire Technologies
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Agenda
Data Binding with Xamarin.Forms Controls3
Advantages using Xamarin.Forms 2
MVVM Architecture with Xamarin.Forms 4
Custom Renderers & Dependency Services 5
Xamarin.Forms - Introduction1
Case Study6
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Xamarin.Forms - Introduction
Build native UIs for iOS, Android and Windows
from a single, shared C# codebase.
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Xamarin.Forms - Introduction
Shared UI Code
Traditional Xamarin ApproachXamarin.Forms Approach
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Advantages - Xamarin.Forms
Quickly and easily build native user interfaces using shared code
Xamarin.Forms elements map to native controls and behaviors
Mix-and-match Xamarin.Forms with native APIs
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
What’s Included
40+ Pages, Layouts and Controls
Build using XAML or code behind (C#)
Two-way Data Binding
Navigation & Animation API
Custom Renderers
Dependency Services
Messaging Center
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Pages
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Layouts
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Views
Activity Indicator
Box View Button Date Picker Editor
Entry Image Label List View Map
Open GL View
Picker Progress Bar Search Bar Slider
Stepper Table View Time Picker Web View Entry Cell
Image Cell Switch Cell Text Cell View Cell
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Model – View - ViewModel
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Data Binding
Defining Properties and implementing INotifyPropertyChanged
Binding property of a control with a property in ViewModel
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Commands
LoginCommand Function in View Model
Binding Button’s Command Property to LoginCommand Function from ViewModel
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Implementing Platform Specific features
Custom Renderers
• Allows to override the default native rendering of a Xamarin.Forms control with platform-specific code
Dependency Services
• Allows shared code to easily resolve Interfaces to platform-specific implementations
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Custom Renderers
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Dependency Service
Interfaces Registration Location
Discovery Strategy
© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential
Case Study
Who We Are
IT solutions company making
information actionable for the enterprises in the
mobile-cloud world
Collaborative and Analytics solutions
leveraging pre-built solution accelerators
Cloud,Collaboration &
Analytics Technologies
Mobility,
Q & A
www.winwire.com
http://www.winwire.com/blog-
winsights/
www.twitter.com/winwire