Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Xamarin.Forms Hot Reload のススメ
Search
amay077
August 31, 2019
Programming
0
860
Xamarin.Forms Hot Reload のススメ
amay077
August 31, 2019
Tweet
Share
More Decks by amay077
See All by amay077
愛知県新型コロナ対策サイト(非公式)の紹介
amay077
0
300
愛知県コロナ対策サイトが立ち上がってから
amay077
0
98
クロスプラットフォームモバイルアプリ開発ツール総ざらい2019 〜Titanium Mobile から Kotlin/Native まで〜 #droidkaigi
amay077
11
10k
ハムスター検出器を1日で作ってみた #NGK2018B
amay077
1
1.1k
App Center から Azure Pipeline に乗り換えた話
amay077
0
1.3k
Xamarin.Forms.GoogleMaps について
amay077
0
1.5k
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jaghama
amay077
0
640
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jxug
amay077
0
950
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #droidkaigi #droidkaigi1
amay077
3
3.6k
Other Decks in Programming
See All in Programming
AI Agent 時代のソフトウェア開発を支える AWS Cloud Development Kit (CDK)
konokenj
5
590
Rails Frontend Evolution: It Was a Setup All Along
skryukov
0
230
顧客の画像データをテラバイト単位で配信する 画像サーバを WebP にした際に起こった課題と その対応策 ~継続的な取り組みを添えて~
takutakahashi
1
230
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
1
6.6k
PipeCDのプラグイン化で目指すところ
warashi
1
290
GPUを計算資源として使おう!
primenumber
1
200
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
170
The Evolution of Enterprise Java with Jakarta EE 11 and Beyond
ivargrimstad
0
160
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
2
150
PicoRuby on Rails
makicamel
2
140
What's new in AppKit on macOS 26
1024jp
0
130
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
570
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
How to Ace a Technical Interview
jacobian
278
23k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
How to train your dragon (web standard)
notwaldorf
96
6.1k
How GitHub (no longer) Works
holman
314
140k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
It's Worth the Effort
3n
185
28k
Optimizing for Happiness
mojombo
379
70k
Transcript
Xamarin.Forms Hot Reload ͷεεϝ 2019.8.31 JXUG @amay077
About me • Ԟࢁ ༟ਈ - @amay077ʢ͋Ί͍ʣ • Android, iOS,
Xamarin, TypeScript AWS, Azure… • ѪݝࡏॅͷϑϧϦϞʔτϫʔΧʔ • ཧใγεςϜɺҐஔใϓϩάϥϛϯά • DroidKaigi2017ొஃˠٕज़ॻయ2→ۀຊԽ(ڞஶ)
ࠓ͓ͳ͢͠Δ͜ͱ Xamarin.Forms UI։ൃπʔϧͷྺ࢙ Official ͳ Hot Reload ͕Ωλʂ Xamarin.Forms Ͱ
Hot Reload Ͱ͖Δπʔϧ͍Ζ ͍Ζ Any Platform ࣌ͷը໘։ൃ
Xamarin.Forms UI։ൃπʔϧͷྺ࢙ Xamarin | Forms | XAML | Live |
Player | Viewer | Previewer ଟ͗͢
Xamarin.Forms 1.xʙ2.x ϓϨϏϡʔΞσβΠφԿͳ͔ͬͨ… ͨͩͬͯRun&Watch
XAML Previewer | Viewer (Xamarin.Forms Previewer) ొ: 20164݄ࠒ ʙ ݱଘ
هड़ͨ͠XAMLίʔυΛVisual StudioͰϓϨϏϡʔදࣔ͢Δػೳ ݱࡏ Visual Studio ͷ XAMLΛ։͍ͨը໘ʹ౷߹ ػೳ໊ͷ༳Ε͕ώυ͍w (ࢲݟ)͙Δ͙Δ͕ফ͑ͳ͔ͬͨΓਅͬനͩͬͨΓΤϥʔ͕ग़ͨ ΓɺʹཱͬͨهԱ͕ͳ͍ ࠷ۙͰʮσβΠϯλΠϜσʔλʯʹରԠͯ͠Δͦ͏Ͱ͢
Xamarin Live Player ొ: 20175݄ࠒ ʙ 20188݄ࠒ Mac͕ͳ͘ͱiOSσόΠε։ൃதͷΞϓϦ͕సૹɾ ։ൃͰ͖Δͱ͞Ε͕࣮ͨࡍ੍͕ଟ͘… ࣮ଶC#ΠϯλϓϦλΛࡌͨ͠ΞϓϦ
AppStore͔ΒBAN͞ΕɺTestFlightͰͷެ։ఀࢭ͞Ε ࣄ্࣮ऴྃ
Xamarin Live Reload ొ: 20184݄ࠒ ʙ 201810݄ࠒ XAMLͷมߋΛΞϓϦʹసૹ͠ɺଈ࣌ʹ࣮ࡍͷΞϓϦʹద༻͢Δ ͍ΘΏΔʮHot Reloadʯػೳ
ϓϨϏϡʔ൛ͷ··ఀ͠ɺVS for Mac ʹఏڙ͢Β͞Εͣ։ ൃऴྃ (ࢲݟ)ಉ࣌ظʹLive Playerऴྃ͠WebFlutterͰओྲྀͰ͋Δ ʮϥΠϒ։ൃʯͷಓ͕ด͟͞Εͨͱͯ͠େ͍ʹࣦ
ʮLive Reload ࢮΜͩͱݴͬͨͳɺ ΞϨιͩʯ
Live Reload վΊ XAML Hot Reload for Xamarin.Forms ొ ※Live
Reload ͱͷؔ࿈֬ೝͰ͖·ͤΜ
None
XAML Hot Reload for Xamarin.Forms 2019ϦϦʔε༧ఆ(ݱࡏϓϨϏϡʔ൛) Visual Studio 2019 /
Visual Studio for Mac ํͰར༻ Մೳ Ճͷ Add-in nuget ύοέʔδෆཁ ͨͩ͠ nuget Xamarin.Forms 4.1.0.581475 Ҏ্͕ඞཁ ਖ਼ࣜϦϦʔε͞ΕΔ·ͰؾΛൈ͘ͳʂ
DEMO
HotReload for XF Ҏ֎ͷબࢶ (ͱ͍͏͔ઌۦ͚)
LiveXAML http://www.livexaml.com/ IDEʹAddinɺΞϓϦʹLiveXAML.dll ͕ඞཁ $240/∞ ݹ͍ Xamarin.Forms Ͱಈ͘(3.x Ͱ֬ೝ) UWP
ʹରԠ ෳσόΠεಉ࣮࣌ߦՄೳ
AndreiMisiukevich/HotReload https://github.com/AndreiMisiukevich/ HotReload VS for Win/Mac, Rider, VSCode ͳͲͰ͑Δ C#
ίʔυมߋͷHot ReloadՄೳ(࣮ػͰෆ Մ)
LiveSharp https://github.com/OYIon/LiveSharp LiveXAML ͱಉ͡ਓ(νʔϜ?)͕࡞ͬͯΔ C# ίʔυมߋͷHot Reload͕Մೳ
pranshu-aggarwal/HotReloading https://github.com/pranshu-aggarwal/ HotReloading C# ίʔυมߋͷHot Reload͕Մೳ Xamarin.Forms ͷ߹ 3.4.0Ҏ্͕ඞཁ
Any Platform ࣌ͷը໘։ൃ for MS Developers
UIΤσΟλϓϨϏϡʔΞͷݶք ʮ࣮ࡍʹಈ͍͍ͯΔΞϓϦʯͰͳ͍ ࣮ߦڥ։ൃڥWinͳΒ·ͩ࠶ݱੑߴ͔ͬͨ iPhoneΞϓϦͷݟͨΛWindows্Ͱ࠶ݱ͢ΔͷʹϜϦ͕ ͋Δͷ໌ന ಛʹϓϥοτϑΥʔϜґଘͷϥΠϒϥϦΛ͍ͬͯΔ߹ ඳըෆՄ ࡞ Xamarin.Forms.GoogleMaps ͦͷҰྫ
ͦ͜Ͱ Hot Reload Ͱ͢Α ʮ࣮ࡍʹಈ͍͍ͯΔΞϓϦʯͰ֬ೝͰ͖Δ ތுͳ͠ʹʮ࠶ݱ100%ʯ ݸਓతʹ XAML Previewer શ͍ͬͯ͘·ͤΜ
Previewer ΑΓ Hot Reload ʹ։ൃύϫʔͬͯ΄ ͍͠ > Visuals Studio νʔϜ͞Μ
·ͱΊ
·ͱΊ Any Platform࣌ʹ Hot Reload ͕࠷ద ৽نҊ݅ʹ Hot Reload for
XFɺ طଘҊ݅ʹ LiveXAML ͦͷଞOSSπʔϧ C# ίʔυͷ HotReload πʔϧಋೖ͢Εແఢ ʮ࣮ࡍͷΞϓϦʯͰαΫαΫ֬ೝ͠ͳ͕Βը໘Λ࡞Ζ ͏ʂ
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠"