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
820
Xamarin.Forms Hot Reload のススメ
amay077
August 31, 2019
Tweet
Share
More Decks by amay077
See All by amay077
愛知県新型コロナ対策サイト(非公式)の紹介
amay077
0
250
愛知県コロナ対策サイトが立ち上がってから
amay077
0
68
クロスプラットフォームモバイルアプリ開発ツール総ざらい2019 〜Titanium Mobile から Kotlin/Native まで〜 #droidkaigi
amay077
11
9.8k
ハムスター検出器を1日で作ってみた #NGK2018B
amay077
1
970
App Center から Azure Pipeline に乗り換えた話
amay077
0
1.3k
Xamarin.Forms.GoogleMaps について
amay077
0
1.3k
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jaghama
amay077
0
580
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jxug
amay077
0
860
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #droidkaigi #droidkaigi1
amay077
3
3.4k
Other Decks in Programming
See All in Programming
GenU導入でCDKに初挑戦し、悪戦苦闘した話
hideg
0
170
Regular Expressions, REXML, Automata Learning
makenowjust
0
220
Rubyのobject_id
qnighy
6
1.3k
How to Break into Reading Open Source
kaspth
2
220
Go1.23で入った errorsパッケージの小さなアプデ
kuro_kurorrr
2
390
いまから追い上げる、Jetpack Compose トレーニング
nyafunta9858
0
590
XStateでReactに秩序を与えたい
gizm000
0
730
Method Swizzlingを行うライブラリにおけるマルチモジュール設計
yoshikma
0
120
Architecture Decision Record (ADR)
nearme_tech
PRO
1
690
GoのIteratorに詳しくなってしまう
inatonix
1
200
Some more adventure of Happy Eyeballs
coe401_
2
190
意外とフォントが大事だった話 / Font Issues on Internationalization
fumi23
0
110
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
93
13k
Building a Scalable Design System with Sketch
lauravandoore
459
32k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
0
120
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
25
3.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
8.9k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
109
6.9k
A Philosophy of Restraint
colly
202
16k
KATA
mclloyd
27
13k
We Have a Design System, Now What?
morganepeng
48
7.1k
Git: the NoSQL Database
bkeepers
PRO
425
64k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.4k
How To Stay Up To Date on Web Technology
chriscoyier
786
250k
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 πʔϧಋೖ͢Εແఢ ʮ࣮ࡍͷΞϓϦʯͰαΫαΫ֬ೝ͠ͳ͕Βը໘Λ࡞Ζ ͏ʂ
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠"