SlideShare a Scribd company logo
Who’s this guy?
James
Montemagno
Developer
Evangelist
james@xamarin.com
http://motz.codes
@JamesMontemagno
Xamarin—A Complete Mobile Solution
Design Develop Integrate
Learn
Xamarin Platform
Test Monitor
Plugins for
Xamarin
Xamarin + Xamarin.Forms
With Xamarin.Forms: !
more code-sharing, native controls!
Traditional Xamarin approach!
Xamarin.Forms!
Platform Specific Code
UI UI UI
GPS, Text To
Speech,
Settings, Battery,
Lights,
Notifications,
etc…
GPS, Text To
Speech,
Settings, Battery,
Lights,
Notifications,
etc…
GPS, Text To
Speech,
Settings, Battery,
Lights,
Notifications,
etc…
§  What if we didn’t
have to write this
code?
§  What if we could
access it from shared
code?
Plugins for Xamarin
§  Access Platform Specific APIs
from a Common API
§  From Anywhere:
§  Single Project
§  PCL
§  Shared Code
§  github.com/xamarin/plugins
Productivity
Templates
Xamarin.Android Templates Pack -‐ AppCompat
Xamarin.Android Templates Pack -‐ NavDrawer
Xamarin.Android Templates Pack -‐ Menu
Xamarin.Android Templates Pack -‐ Adapters
Tips & Tricks
Android
USE THESE
•  Xamarin Android Player
–  https://xamarin.com/android-‐player
•  Material Palette
–  http://www.materialpalette.com/
•  Android Asset Studio
–  http://romannurik.github.io/AndroidAssetStudio/
•  The Android Source Code!
–  https://github.com/android/platform_frameworks_base
Tips & Tricks
iOS with
Mike James
Productivity
Tools in
Xamarin.Forms
Messaging Center!
§  MessagingCenter.Subscribe<T>(object subscriber, string message, Action<T> callback);!
§  MessagingCenter.Send(T item, string message);!
!
!
Messaging Center -‐ Subscribe
Messaging Center -‐ Send
Dependency Services – Built in Service Container
•  Access Native Features Easily
Dependency Service -‐ Implementation
Dependency Service – Register & Access
Extensibility
http://developer.xamarin.com/guides/cross-platform/
xamarin-forms/custom-renderer/
Extensibility
Extensibility
Extensibility
Extensibility
Extensibility
Circle Image in Action
http://blog.xamarin.com/extending-xamarin.forms-with-control-plugins/
What’s new in
Xamarin.Forms
Pull To Refresh!
The API
ViewModel Code
The XAML!
Styles
•  Now you can group into a Style
and share!
•  Can also be added to App-‐level
ResourceDictionary
Styles
•  DynamicResource behave
like data-‐binding, and
support Apple’s Dynamic
Type (﴾size)﴿ rendering
•  Triggers & Behaviors can be
added to styles
Triggers
•  Visual Elements can
react to events and
property changes
•  “conditional style” -‐
CP
•  Can be added in C#
•  Types:
§  Trigger
§  EventTrigger
§  DataTrigger
§  MultiTrigger
OR
OR
Triggers
•  The EventTrigger has
Event instead of
Property
•  TriggerAction is written
in C#
•  Remember xmlns:
Triggers
•  DataTriggers can bind to
other controls (﴾Binding
instead of Property)﴿
Behaviors
•  Add functionality to visual
elements without subclassing
Behaviors
•  Add functionality to
visual elements without
subclassing
•  Can participate in data-‐
binding
Basic 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();!
!
!
PushAsync/PopAsync
Advanced Navigation!
§  Editing of stack beyond push/pop!
§  Remove Page!
§  InsertPageBefore!
§  NavigationStack[]!
§  Disable animations!
!
!
InsertPageBefore
RemovePage
Push/Pop
James’ Top
Recommendation
Use Xamarin.Insights!
It’s Free and Amazing!
•  Real-‐time Monitoring for
your Apps
•  iOS, Android, Mac, and
Windows
•  Xamarin.com/Insights
•  Automatically report any
uncaught managed or native
exception.
•  Report your own caught
exceptions with simple cross-‐
platform API
Report
•  Track any event that occurs in
your application.
•  Even track performance of how
long an operation takes.
Track
•  Combine event tracking with
user identification to resolve
issues faster.
Identify
•  Simple integrations into popular services for mission critical notifications.
Integrate
Links & References
•  Plugins for Xamarin
–  http://www.github.com/xamarin/plugins
•  Plugins for Xamarin Templates
–  https://visualstudiogallery.msdn.microsoft.com/
afead421-‐3fbf-‐489a-‐a4e8-‐4a244ecdbb1e
•  Xamarin.Android Templates
–  https://visualstudiogallery.msdn.microsoft.com/
bee6442f-‐8f5a-‐4bba-‐8849-‐e380b61e76b0
•  Paint Code
–  http://www.paintcodeapp.com/
•  Slides: www.slideshare.net/jamesmontemagno
Get Started
Xamarin.com
Thank you!
Q&A
James
Montemagno
Developer
Evangelist
james@xamarin.com
http://motz.codes
@JamesMontemagno

More Related Content

PDF
Xamarin Dev Days - Introduction to Xamarin
PDF
Xamarin Dev Days - Introduction to Xamarin.Forms, Insights, Test Cloud
PDF
Xamarin 4 - the future of apps
PPTX
.Net Standard Libraries and Xamarin
PDF
What's new in Xamarin.Forms?
PDF
Deep Dive in Xamarin.Forms
PDF
Introduction to CocosSharp
PDF
Introduction to Xamarin.Forms
Xamarin Dev Days - Introduction to Xamarin
Xamarin Dev Days - Introduction to Xamarin.Forms, Insights, Test Cloud
Xamarin 4 - the future of apps
.Net Standard Libraries and Xamarin
What's new in Xamarin.Forms?
Deep Dive in Xamarin.Forms
Introduction to CocosSharp
Introduction to Xamarin.Forms

What's hot (20)

PDF
Evovle 2016 - Everyone Can Create Beautiful Apps with Material Design
PDF
Introduction to Mobile Development with Xamarin -DotNet Westide
PPTX
Xamarin for iOS developers
PDF
Xamarin: The Future of App Development
PDF
End to-end native iOS, Android and Windows apps wtih Xamarin
PDF
Visual Studio Toolbox - Introduction To Xamarin.Forms
PDF
Native i os, android, and windows development in c# with xamarin 4
PPTX
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
PDF
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#
PDF
Native iOS and Android Development with Xamarin
PPTX
Highlights from the Xamarin Evolve 2016 conference
PPTX
Introduction to Xamarin
PPT
Native App Development for iOS, Android, and Windows with Visual Studio
PDF
Developing and Designing Native Mobile Apps in Xamarin Studio
PDF
Azure App Service Helpers
PDF
Wearables with C# and Xamarin
PDF
.NET Everywhere and for Everyone
PPTX
PDF
Xamarin University Presents: Building Your First Intelligent App with Xamarin...
PDF
Introduction to Xamarin for Visual Studio 2017
Evovle 2016 - Everyone Can Create Beautiful Apps with Material Design
Introduction to Mobile Development with Xamarin -DotNet Westide
Xamarin for iOS developers
Xamarin: The Future of App Development
End to-end native iOS, Android and Windows apps wtih Xamarin
Visual Studio Toolbox - Introduction To Xamarin.Forms
Native i os, android, and windows development in c# with xamarin 4
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#
Native iOS and Android Development with Xamarin
Highlights from the Xamarin Evolve 2016 conference
Introduction to Xamarin
Native App Development for iOS, Android, and Windows with Visual Studio
Developing and Designing Native Mobile Apps in Xamarin Studio
Azure App Service Helpers
Wearables with C# and Xamarin
.NET Everywhere and for Everyone
Xamarin University Presents: Building Your First Intelligent App with Xamarin...
Introduction to Xamarin for Visual Studio 2017
Ad

Viewers also liked (15)

PPTX
20140207 xamarin-red fabriq-microsoft-techdays-nativemobileappdevelopmentwith...
PDF
C# Powered Robots, C# Powered Mobile Apps
PDF
The productive developer guide to Angular 2
PPTX
Get satrted angular js day 2
PDF
Angular Pipes Workshop
PPTX
Get satrted angular js
PDF
Redux with angular 2 - workshop 2016
PDF
How Angular2 Can Improve Your AngularJS Apps Today!
PDF
Angular2 - getting-ready
PDF
Angular 2 overview
PPTX
Angular 2 - Better or worse
PDF
Angular 2 - Core Concepts
PDF
Getting Started with Angular 2
PPTX
PDF
Building Universal Applications with Angular 2
20140207 xamarin-red fabriq-microsoft-techdays-nativemobileappdevelopmentwith...
C# Powered Robots, C# Powered Mobile Apps
The productive developer guide to Angular 2
Get satrted angular js day 2
Angular Pipes Workshop
Get satrted angular js
Redux with angular 2 - workshop 2016
How Angular2 Can Improve Your AngularJS Apps Today!
Angular2 - getting-ready
Angular 2 overview
Angular 2 - Better or worse
Angular 2 - Core Concepts
Getting Started with Angular 2
Building Universal Applications with Angular 2
Ad

Similar to Extending, optimizing, and accelerating Xamarin and Xamarin.Forms app development (20)

PDF
MVP Mix 2015 - Introduction to Xamarin Development
KEY
Philly ete-2011
PDF
ANUG - intro to Xamarin and Xamarin.Forms
PDF
Android Wear Applications in C# with Xamarin
PPTX
Win8 development lessons learned jayway
PDF
Win j svsphonegap-damyan-petev-mihail-mateev
PDF
Introduction to Xamarin.Forms
PPTX
extending-and-optimizing-xamarin-forms-apps
KEY
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
KEY
PhoneGap talk from Singapore
PDF
Dreamweaver CS6, jQuery, PhoneGap, mobile design
PDF
Maximiliano Firtman - Разработка приложений с помощью PhoneGap
PDF
PhoneGap mobile development
PPTX
Kickstart android development with xamarin
KEY
Phonegap facebook- plugin
PDF
Stapling and patching the web of now - ForwardJS3, San Francisco
PDF
Getting your mobile test automation process in place - using Cucumber and Cal...
PDF
Cross Platform Mobile Development
KEY
Phonegap facebook plugin - Seoul & Tokyo
PPTX
JavaScript All The Things
MVP Mix 2015 - Introduction to Xamarin Development
Philly ete-2011
ANUG - intro to Xamarin and Xamarin.Forms
Android Wear Applications in C# with Xamarin
Win8 development lessons learned jayway
Win j svsphonegap-damyan-petev-mihail-mateev
Introduction to Xamarin.Forms
extending-and-optimizing-xamarin-forms-apps
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
PhoneGap talk from Singapore
Dreamweaver CS6, jQuery, PhoneGap, mobile design
Maximiliano Firtman - Разработка приложений с помощью PhoneGap
PhoneGap mobile development
Kickstart android development with xamarin
Phonegap facebook- plugin
Stapling and patching the web of now - ForwardJS3, San Francisco
Getting your mobile test automation process in place - using Cucumber and Cal...
Cross Platform Mobile Development
Phonegap facebook plugin - Seoul & Tokyo
JavaScript All The Things

More from James Montemagno (20)

PDF
What's new and next for mobile development with .NET
PPTX
Taking Mobile Development Serverless with C#
PDF
.NET North UG - What’s new & next for Xamarin developers
PPTX
Building Stream Deck Plugins in C#
PDF
.Net Dev Summit 2020 - What's new and next for Xamarin developers
PDF
Creating Island Tracker - Xamarin, Azure Functions, Table Storage, & More
PDF
Xamarin.forms Shell + Navigation
PPTX
Seattle Mobile .NET User Group - Nov. 13th 2019
PDF
Expert Day - What's New, Hot, & Awesome for Xamarin Devs
PDF
Oxford .NET - Go Mobile with Xamarin
PDF
Xamarin - New & Awesome + Building Xamarin.Essentials
PDF
Zebra App Forum 2019 - Building iOS & Android Apps with Xamarin
PPTX
Stunning Mobile Apps with the Xamarin Visual Design System​
PDF
What's New, Hot, & Awesome for Xamarin Developers!
PDF
What's New in Xamarin? - Santo Domingo
PDF
Optimizing and Extending Xamarin.Forms iOS, Android, and UWP Apps
PDF
MS Experiences 17 - Xamarin: Future of Mobile Development
PDF
AnDevCon - Android and iOS Apps in C# with Xamarin
PDF
Xcoders - iOS & Android Development in C# with Xamarin
PDF
Visual Studio 2017 Launch Event
What's new and next for mobile development with .NET
Taking Mobile Development Serverless with C#
.NET North UG - What’s new & next for Xamarin developers
Building Stream Deck Plugins in C#
.Net Dev Summit 2020 - What's new and next for Xamarin developers
Creating Island Tracker - Xamarin, Azure Functions, Table Storage, & More
Xamarin.forms Shell + Navigation
Seattle Mobile .NET User Group - Nov. 13th 2019
Expert Day - What's New, Hot, & Awesome for Xamarin Devs
Oxford .NET - Go Mobile with Xamarin
Xamarin - New & Awesome + Building Xamarin.Essentials
Zebra App Forum 2019 - Building iOS & Android Apps with Xamarin
Stunning Mobile Apps with the Xamarin Visual Design System​
What's New, Hot, & Awesome for Xamarin Developers!
What's New in Xamarin? - Santo Domingo
Optimizing and Extending Xamarin.Forms iOS, Android, and UWP Apps
MS Experiences 17 - Xamarin: Future of Mobile Development
AnDevCon - Android and iOS Apps in C# with Xamarin
Xcoders - iOS & Android Development in C# with Xamarin
Visual Studio 2017 Launch Event

Extending, optimizing, and accelerating Xamarin and Xamarin.Forms app development