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
880
Xamarin.Forms Hot Reload のススメ
amay077
August 31, 2019
Tweet
Share
More Decks by amay077
See All by amay077
愛知県新型コロナ対策サイト(非公式)の紹介
amay077
0
320
愛知県コロナ対策サイトが立ち上がってから
amay077
0
110
クロスプラットフォームモバイルアプリ開発ツール総ざらい2019 〜Titanium Mobile から Kotlin/Native まで〜 #droidkaigi
amay077
11
10k
ハムスター検出器を1日で作ってみた #NGK2018B
amay077
1
1.1k
App Center から Azure Pipeline に乗り換えた話
amay077
0
1.4k
Xamarin.Forms.GoogleMaps について
amay077
0
1.5k
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jaghama
amay077
0
650
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jxug
amay077
0
960
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #droidkaigi #droidkaigi1
amay077
3
3.6k
Other Decks in Programming
See All in Programming
Software Architecture
hschwentner
6
2.3k
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.1k
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
3
230
CSC305 Lecture 05
javiergs
PRO
0
230
実践Claude Code:20の失敗から学ぶAIペアプログラミング
takedatakashi
15
6.3k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
500
CSC305 Lecture 06
javiergs
PRO
0
260
Six and a half ridiculous things to do with Quarkus
hollycummins
0
190
コード生成なしでモック処理を実現!ovechkin-dm/mockioで学ぶメタプログラミング
qualiarts
0
200
技術的負債の正体を知って向き合う
irof
0
210
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
180
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
2
620
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Why Our Code Smells
bkeepers
PRO
340
57k
Designing for Performance
lara
610
69k
What's in a price? How to price your products and services
michaelherold
246
12k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
190
55k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Designing Experiences People Love
moore
142
24k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.5k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
YesSQL, Process and Tooling at Scale
rocio
173
14k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
RailsConf 2023
tenderlove
30
1.3k
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 πʔϧಋೖ͢Εແఢ ʮ࣮ࡍͷΞϓϦʯͰαΫαΫ֬ೝ͠ͳ͕Βը໘Λ࡞Ζ ͏ʂ
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠"