Upload
atsushi-nakamura
View
556
Download
0
Embed Size (px)
Citation preview
PowerPoint Presentation
#XamarinDevDays
1
Twitter : @nuits_jpCross-Platform Native User Interfaceswith Xamarin.Forms
2
Xamarin.FormsiOSAndroidWindows UI Xamarin.Forms
Xamarin.FormsXamarin.Forms3
Xamarin + Xamarin.Forms Xamarin Xamarin.Forms :UI iOS C# UI Windows C# UIAndroid C# UI
Shared C# Backend
Shared UI CodeShared C# Backend
Xamarin.FormsXamarinUI
UI
Xamarin.FormsUI
4
Xamarin + Xamarin.Forms iOS C# UI Windows C# UIAndroid C# UI
Shared C# Backend
Shared UI CodeShared C# Backend
Xamarin Xamarin.Forms :UI
Xamarin5
Xamarin + Xamarin.Forms iOS C# UI Windows C# UIAndroid C# UI
Shared C# Backend
Shared UI CodeShared C# Backend Xamarin Xamarin.Forms :UI
6
Xamarin.Forms 40 PageLayoutControl (XAML) API Dependency Service Messaging Center
Shared C# Backend
Shared UI Code
Xamarin.FormsUIXamarin.Forms40PageLayoutAPIDependency ServiceMessaging Center7
LayoutPageStackAbsoluteRelativeGridContentViewScrollViewFrame
ContentMasterDetailNavigationTabbedCarousel
Xamarin.FormsMasterDetailTabPagePage8
ActivityIndicatorBoxViewButtonDatePickerEditorEntryImageLabelListViewMapOpenGLViewPickerProgressBarSearchBarSliderStepperTableViewTimePickerWebViewEntryCellImageCellSwitchCellTextCellViewCellControls
Xamarin.FormsXamarin.FormsEntryiOSUITextFieldAndroidEditTextFormsXamarin9
Xamarin.Forms
Xamarin.Forms10
WindowsXamarin.FormsStackPanelStackLayoutTextBoxEntryListBoxListViewCheckBoxSwitchProgressBarActivityIndicatorGridGridLabelLabelButtonButtonImageImageDate/TimePickerDate/TimePicker
Control
Xamarin.FormsXAMLWPFUWPXamarin11
WindowsXamarin.FormsDataContextBindingContext{Binding Property}{Binding Property}ItemsSourceItemsSourceItemTemplateItemTemplateDataTemplateDataTemplate
Binding
FormsXAMLWPFWPFDataContextXamarin.FormsBindingContextEventTriggerActionWPFUWPXAML12
UI
TabbedPageStackLayoutiOS
XamarinXamarinUI
13
iOS C# UI Windows C# UIAndroid C# UI
Shared C# Backend
Shared UI CodeShared C# Backend Xamarin Xamarin.Forms :UI
14
FormsUI
FormsUI
15
ActivityIndicatorBoxViewButtonDatePickerEditorEntryImageLabelListViewMapOpenGLViewPickerProgressBarSearchBarSliderStepperTableViewTimePickerWebViewEntryCellImageCellSwitchCellTextCellViewCellControls
Xamarin.Forms
PRThis is OpenSource!XamarinContributingXamarin16
Custum Renderer
FormsFormsEntryListViewMapPageView
17
ViewRenderer
FormsGithub18
Dependency Service
Dependency ServiceXamarin.FormsUIDependency Service
TextToSpeechDependency ServiceDependency Service
19
Xamarin.Forms
FormsDependency Service
[10]20
Application
Plugins for Xamarin
21
Plugins for XamarinNuGet
https://github.com/xamarin/XamarinComponents
XamarinMacBook ProOS XParallelsWindows 10Xamarin for Visual Studiowith ReSharperHyper-VWin10m EmuVS Emufor AndroidiOS Simulatorfor WindowsXamarinMac AgentiOS Simulator
MacBook Pro16GPCOS XWindows 10Visual StudioMacMac AgentOS XiOS Simulator for WindowsOS XiOS SimulatoriOS simulator for WindowsOS XWindows 10Hyper-VAndroidWin10m23
XamarinMacBook ProOS XParallelsWindows 10Xamarin for Visual Studiowith ReSharperHyper-VWin10m EmuVS Emufor AndroidiOS Simulatorfor WindowsXamarinMac AgentiOS SimulatorCPUWin10
Hyper-VOFFCPUONWindows1024
XamarinMacBook ProOS XParallelsWindows 10Xamarin for Visual Studiowith ReSharperHyper-VWin10m EmuVS Emufor AndroidiOS Simulatorfor WindowsXamarinMac AgentiOS SimulatorCPUOFFHyper-V
& Visual Studio & iOSHype-VAndroidWindows10mobile25
Whats new?
Xamarin.Forms 2.0!
Forms2.02.3.126
PerformancePerformancePerformance
27
ListView CachingStrategy
28
XAML XAML
RuntimeCompileIL
XAMLC
XAMLXAMLC29
XAML
XAML
30
Design & Controls
31
Content Template
[ ]http://ticktack.hatenablog.jp/entry/2016/01/24/233825
Forms2.1Cotent TemplateWPF
LoginView32
Data Template Selector
Data Template SelectorDataTemplate198033
CarouselViewCarouselItemTemplateDataTemplates
34
Effects I " Custom renderer string "
X X
EffectsXamarin.FormsUIXamarin.Forms
EffectsEffects
35
Effects IIentry.Effects.Add (Effect.Resolve("Xamarin.BorderEffect"));
EffectsEffectsEffectsEffects36
So much more
37
XAML Previewer
XAMLPreviewer!MacXamarin.StudioVisual StudioXamarin68.NET ConfKeynoteVisual StudioVS
FormsXAMLXAML
WPFUWPXAML38
URL Navigation
URL Navigation URLNSUserActivityGoogle App Indexing
DataPages
https://developer.xamarin.com/guides/xamarin-forms/datapages/
Xamarin.FormsDataPagesJSONFormsDataPagesXamarin40
Themes
https://developer.xamarin.com/guides/xamarin-forms/themes/
DarkLightDataPages41
Native Embedding
Native Embedding
AndroidFloating Action ButtoniOSFormsXAML
Support native view declaration in Xaml, and native Bindings
2.3.3XAMLXAMLC
FormsForms44
Special Thankshttp://ticktack.hatenablog.jpTwitter:ticktackmobile
2.3.3XAMLXAMLC
FormsForms45
10
Blog : http://www.nuits.jp
Twitter : @nuits_jp
2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.11/12/1646