Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Cross-Platform Native User Interfaces with Xama...
Search
Mauricio Contreras
December 06, 2016
Programming
28
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cross-Platform Native User Interfaces with Xamarin.Forms
Mauricio Contreras
December 06, 2016
More Decks by Mauricio Contreras
See All by Mauricio Contreras
Azure DevOps para Desarrolladores .NET
maurocon3ras
0
25
Deployments and DevOps with AKS and Azure DevOps
maurocon3ras
0
84
Cómo desplegar aplicaciones de manera más rápida y segura
maurocon3ras
0
24
Introducción a Azure DevOps
maurocon3ras
0
140
Graph <3 Azure Functions
maurocon3ras
0
32
De Dev a DevOps con Visual Studio App Center
maurocon3ras
0
26
De Dev a DevOps - NETConf v18
maurocon3ras
0
29
Desarrollo nativo para Android, iOS y Windows con Xamarin
maurocon3ras
0
82
Aprovecha al máximo tu web app con PWA en Windows
maurocon3ras
0
37
Other Decks in Programming
See All in Programming
カツオ、ご期待ください
suneo3476
0
190
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
Domain-Driven Transformation
hschwentner
2
2.3k
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
ChromeでローカルLLM
ryu1013
0
140
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
Featured
See All Featured
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
The browser strikes back
jonoalderson
0
1.8k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
460
Producing Creativity
orderedlist
PRO
348
41k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Facilitating Awesome Meetings
lara
57
7.2k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
480
sira's awesome portfolio website redesign presentation
elsirapls
0
460
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Mobile First: as difficult as doing things right
swwweet
225
10k
Transcript
None
None
Enfoque tradicional de Xamarin Con Xamarin.Forms: compartes más código, todo
nativo ☺ iOS C# UI Windows C# UI Android C# UI Backend C# Compartido Código UI Compartido Backend C# Compartido
✓ 40+ Páginas, layouts, y controles (Constrúyelos desde code behind
o con XAML) ✓ Two-way data binding ✓ Navegación ✓ API de animaciones ✓ Dependency Service ✓ Messaging Center Backend C# Compartido Código UI compartido
Layouts Pages Stack Absolute Relative Grid ContentView ScrollView Frame Content
MasterDetail Navigation Tabbed Carousel
ActivityIndicator BoxView Button DatePicker Editor Entry Image Label ListView Map
OpenGLView Picker ProgressBar SearchBar Slider Stepper TableView TimePicker WebView EntryCell ImageCell SwitchCell TextCell ViewCell
Ecosistema Xamarin.Forms
Windows Xamarin.Forms StackPanel StackLayout TextBox Entry ListBox ListView CheckBox Switch
ProgressBar ActivityIndicator Grid Grid Label Label Button Button Image Image Date/TimePicker Date/TimePicker
Windows Xamarin.Forms DataContext BindingContext {Binding Property} {Binding Property} ItemsSource ItemsSource
ItemTemplate ItemTemplate DataTemplate DataTemplate
None
<?xml version="1.0" encoding="UTF-8"?> <TabbedPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="MyApp.MainPage"> <TabbedPage.Children> <ContentPage Title="Profile"
Icon="Profile.png"> <StackLayout Spacing="20" Padding="20" VerticalOptions="Center"> <Entry Placeholder="Username" Text="{Binding Username}"/> <Entry Placeholder="Password" Text="{Binding Password}" IsPassword="true"/> <Button Text="Login" TextColor="White" BackgroundColor="#77D065" Command="{Binding LoginCommand}"/> </StackLayout> </ContentPage> <ContentPage Title="Settings" Icon="Settings.png"> <!-- Settings --> </ContentPage> </TabbedPage.Children> </TabbedPage>
None
None
Xamarin.Forms es Open Source! open.xamarin.com
None
✓ Mejora el rendimiento al hacer scrolling ✓ El comportamiento
antiguo está por defecto (pero cambiará en un futuro cercano)
XAML Parsed and inflated Parsed & turned into IL XAMLC
✓ Carga más rápido ✓ Disminuye el peso de la
app ✓ Ver errores XAML en tiempo de compilación (build-time)
None
None
• Embeddable Carousel • ItemTemplate & DataTemplates • Altamente customizable
✓ Custom renderer “lite” ✓ Cambia propiedades en los controles
nativos ✓ Opcional ✓ “stringly-typed” X Sin métodos o eventos X Sin reemplazar el control
entry.Effects.Add (Effect.Resolve("Xamarin.BorderEffect"));
None
None
None
https://developer.xamarin.com/guides/xamarin-forms/datapages/
https://developer.xamarin.com/guides/xamarin-forms/themes/
Embedding Nativo
None
Preguntas. Mauricio Andrés Contreras Microsoft MVP Xamarin Certified Mobile Developer
[email protected]
maurodev.ninja @mauroDevNinja
http://mva.microsot.com http://channel9.microsoft.com http://university.xamarin.com https://developer.xamarin.com/guides/xamarin- forms/ https://aka.ms/XamarinIntermediate