introduction to xamarin.forms

26
Portable Class Libraries James Montemagno Developer Evangelist, Xamarin @JamesMontemagno blog.xamarin.com

Upload: xamarin

Post on 27-Aug-2014

2.664 views

Category:

Software


2 download

DESCRIPTION

Xamarin.Forms is a new library that enables you to build native UIs for iOS, Android and Windows Phone from a single, shared C# codebase. It provides more than 40 cross-platform controls and layouts which are mapped to native controls at runtime, which means that your user interfaces are fully native. Join Xamarin developer James Montemagno for an in-depth overview of Xamarin.Forms, and see how you can get started with Xamarin.Forms today.

TRANSCRIPT

Page 1: Introduction to Xamarin.Forms

Portable Class Libraries!

James Montemagno! Developer Evangelist, Xamarin!

@JamesMontemagno !blog.xamarin.com!

Page 2: Introduction to Xamarin.Forms

Xamarin + Xamarin.Forms!With Xamarin.Forms: !

more code-sharing, native controls!Traditional Xamarin approach!

Shared UI Code!

Page 3: Introduction to Xamarin.Forms

Xamarin + Xamarin.Forms!

Shared UI Code!

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 4: Introduction to Xamarin.Forms

What’s Included!

§  40+ Pages, Layouts, and Controls!§  Build from code behind or XAML!

§  Two-way Data Binding!!§  Navigation!

§  Animation API!

§  Dependency Service!

§  Messaging Center!

Page 5: Introduction to Xamarin.Forms

Pages!

Content" MasterDetail" Navigation" Tabbed" Carousel"

Page 6: Introduction to Xamarin.Forms

Layouts!

Stack" Absolute" Relative" Grid" ContentView" ScrollView" Frame"

Page 7: Introduction to Xamarin.Forms

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!

Page 8: Introduction to Xamarin.Forms

DEMO!

Page 9: Introduction to Xamarin.Forms

Model-View-ViewModel!

Model"View" ViewModel"

How to display information!

What to display!Flow of interaction!

Business Logic!Data objects!!

Events!

Data!Data!

Page 10: Introduction to Xamarin.Forms

Model-View-ViewModel!

Model"View" ViewModel"

Xamarin.Forms Data Binding"

Events!

Data!

Page 11: Introduction to Xamarin.Forms

Data Binding!

Page 12: Introduction to Xamarin.Forms

Data Binding!

Page 13: Introduction to Xamarin.Forms

Data Binding!

Page 14: Introduction to Xamarin.Forms

Data Binding!

Page 15: Introduction to Xamarin.Forms

Commands!

§  Used to Execute a method when an action is performs, such as button click.!

§  Ability to pass parameter!

§  Ability to have CanExecute!

Page 16: Introduction to Xamarin.Forms

Commands!

Page 17: Introduction to Xamarin.Forms

Commands!

Page 18: Introduction to Xamarin.Forms

Commands!

Page 19: Introduction to Xamarin.Forms

DEMO!

Page 20: Introduction to Xamarin.Forms

Animations!

•  Cross-platform animations!

•  Platform-specific animation APIs!

•  Async/Await API!

Page 21: Introduction to Xamarin.Forms

DEMO!

Page 22: Introduction to Xamarin.Forms

Learn more!

Unrivaled Mobile Development Training!Live unlimited mobile development training from mobile experts, !

in your time-zone, on your schedule and as often as you'd like!www.xamarin.com/university"

Page 23: Introduction to Xamarin.Forms

Key Attendees!

www.xamarin.com/evolve"

Page 24: Introduction to Xamarin.Forms

Get Started Today: xamarin.com/download"

Page 25: Introduction to Xamarin.Forms

Try Xamarin!Today!

Page 26: Introduction to Xamarin.Forms

Resources!

•  Amazing Docs!•  http://developer.xamarin.com/guides/cross-platform/xamarin-forms/!

•  Samples!•  https://github.com/xamarin/xamarin-forms-samples!

•  Hanselman App!•  https://github.com/jamesmontemagno/Hanselman.Forms!

•  Download: xamarin.com!•  Me: @JamesMontemagno | www.MotzCod.es!