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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Mauricio Contreras
December 06, 2016
Programming
26
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
83
Cómo desplegar aplicaciones de manera más rápida y segura
maurocon3ras
0
24
Introducción a Azure DevOps
maurocon3ras
0
130
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
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
4
700
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
610
Intent as Code
shoppingjaws
6
1k
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
150
Are APIs Still Relevant in the AI Era?
soyuka
0
260
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
560
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
130
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
1
340
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
390
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
490
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
160
WebAssembly in Android Apps 〜 WASMはJNIの夢を見るか
keiji
1
110
Featured
See All Featured
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
65k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
580
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
240
The Curse of the Amulet
leimatthew05
3
15k
Building the Perfect Custom Keyboard
takai
2
880
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
520
Music & Morning Musume
bryan
48
7.4k
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