Leveraging C# and it’s awesome features to developer iOS and Android apps with Xamarin allows for rapid application development, but how can you go even further. In this session we will take a look at tools, libraries, and other resources to increase productivity enabling you to write less code and share more code across all of your apps. We will additionally dive through everything new in Xamarin.Forms and several tools that Forms has built in to help with cross platform development. No matter how you are developing applications with Xamarin you will be sure to find something new and fun to use on a day to day basis.
4. Xamarin + Xamarin.Forms
With Xamarin.Forms: !
more code-sharing, native controls!
Traditional Xamarin approach!
Xamarin.Forms!
5. 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?
6. Plugins for Xamarin
§ Access Platform Specific APIs
from a Common API
§ From Anywhere:
§ Single Project
§ PCL
§ Shared Code
§ github.com/xamarin/plugins
13. 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
34. Styles
• Now you can group into a Style
and share!
• Can also be added to App-‐level
ResourceDictionary
35. Styles
• DynamicResource behave
like data-‐binding, and
support Apple’s Dynamic
Type (﴾size)﴿ rendering
• Triggers & Behaviors can be
added to styles
36. 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
37. Triggers
• The EventTrigger has
Event instead of
Property
• TriggerAction is written
in C#
• Remember xmlns: