xamarin.forms - building cross platform mobile apps

19
Xamarin.Forms - Building Cross Platform Mobile Apps Notes: 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.

Upload: winwire-technologies-inc

Post on 28-Jul-2015

272 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Xamarin.Forms - Building Cross Platform Mobile Apps

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.

Page 2: Xamarin.Forms - Building Cross Platform Mobile Apps

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Session Speaker

Amit Dubay

Director – Mobility & Cloud

WinWire Technologies

Page 3: Xamarin.Forms - Building Cross Platform Mobile Apps

© 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

Page 4: Xamarin.Forms - Building Cross Platform Mobile Apps

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Xamarin.Forms - Introduction

Build native UIs for iOS, Android and Windows

from a single, shared C# codebase.

Page 5: Xamarin.Forms - Building Cross Platform Mobile Apps

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Xamarin.Forms - Introduction

Shared UI Code

Traditional Xamarin ApproachXamarin.Forms Approach

Page 6: Xamarin.Forms - Building Cross Platform Mobile Apps

© 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

Page 7: Xamarin.Forms - Building Cross Platform Mobile Apps

© 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

Page 8: Xamarin.Forms - Building Cross Platform Mobile Apps

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Pages

Page 9: Xamarin.Forms - Building Cross Platform Mobile Apps

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Layouts

Page 10: Xamarin.Forms - Building Cross Platform Mobile Apps

© 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

Page 11: Xamarin.Forms - Building Cross Platform Mobile Apps

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Model – View - ViewModel

Page 12: Xamarin.Forms - Building Cross Platform Mobile Apps

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Data Binding

Defining Properties and implementing INotifyPropertyChanged

Binding property of a control with a property in ViewModel

Page 13: Xamarin.Forms - Building Cross Platform Mobile Apps

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Commands

LoginCommand Function in View Model

Binding Button’s Command Property to LoginCommand Function from ViewModel

Page 14: Xamarin.Forms - Building Cross Platform Mobile Apps

© 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

Page 15: Xamarin.Forms - Building Cross Platform Mobile Apps

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Custom Renderers

Page 16: Xamarin.Forms - Building Cross Platform Mobile Apps

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Dependency Service

Interfaces Registration Location

Discovery Strategy

Page 17: Xamarin.Forms - Building Cross Platform Mobile Apps

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Case Study

Page 18: Xamarin.Forms - Building Cross Platform Mobile Apps

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,

Page 19: Xamarin.Forms - Building Cross Platform Mobile Apps

Q & A

[email protected]

www.winwire.com

http://www.winwire.com/blog-

winsights/

www.twitter.com/winwire