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
compose-hot-reload を試そうとした話
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Takuji Nishibayashi
June 04, 2025
Technology
0
120
compose-hot-reload を試そうとした話
Takuji Nishibayashi
June 04, 2025
Tweet
Share
More Decks by Takuji Nishibayashi
See All by Takuji Nishibayashi
CameraX使ってみた
takuji31
0
270
kotlinx.datetime 使ってみた
takuji31
0
950
HiltのCustom Componentについて
takuji31
0
340
java.timeをAndroidで使う
takuji31
0
170
KSPを使ってコード生成
takuji31
0
420
Kotlin Symbol Processing API (KSP) を使って Kotlin ア プリケーションの開発を効率化する
takuji31
1
3k
kotlinx.serialization
takuji31
0
660
kanmoba-returns-02.pdf
takuji31
0
270
AndroidXとKotlin Coroutines
takuji31
0
410
Other Decks in Technology
See All in Technology
Claude in Chromeで始める自律的フロントエンド開発
diggymo
1
270
一番人に近いコードレビューア CodeRabbit
kinopeee
0
110
新規事業 toitta におけるAI 機能評価の話 / AI Feature Evaluation in toitta
pokutuna
0
240
Kaggleコンペティション「MABe Challenge - Social Action Recognition in Mice」振り返り
yu4u
1
730
プロダクトエンジニアこそ必要なPMスキル 〜デリバリー力を最大化し、価値を届け続けるために〜
layerx
PRO
0
110
Git Training GitHub
yuhattor
1
260
2026/01/16_実体験から学ぶ 2025年の失敗と対策_Progate Bar
teba_eleven
1
220
さくらのクラウドでのシークレット管理を考える/tamachi.sre#2
fujiwara3
1
210
漸進的過負荷の原則
sansantech
PRO
3
330
AWS Amplify Conference 2026 - 仕様からリリースまで一気通貫生成 AI 時代のフルスタック開発
inariku
3
360
ReproでのicebergのStreaming Writeの検証と実運用にむけた取り組み
joker1007
0
390
旬のブリと旬の技術で楽しむ AI エージェント設計開発レシピ
chack411
1
320
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Odyssey Design
rkendrick25
PRO
0
470
Building the Perfect Custom Keyboard
takai
2
670
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
120
AI: The stuff that nobody shows you
jnunemaker
PRO
2
200
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
82
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
72
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
160
New Earth Scene 8
popppiees
1
1.4k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
260
Transcript
compose-hot-reload を試そうとした話 関西モバイルアプリ研究会 A #8 @takuji31
自己紹介 西林 拓志( にしばやし たくじ) Twitter/GitHub takuji31 株式会社 TRAILBLAZER (6/1~)
Android (2009 〜) Kotlin (2014 〜) 1
Compose 使ってますか? 2
Flutter 使ってますか? 3
Flutter の利点でよく言われるのが 4
Hot Reload 5
Dart ファイルを書き換えて保存すると即反映 6
Compose でもできるようになったよ 7
JetBrains/compose-hot-reload 8
compose-hot-reload Compose Multiplatform 上で動作 Desktop target が必要 Kotlin 2.10.20 以上
9
セットアップ 10
build.gradle.kts plugins { kotlin("multiplatform") version "2.1.21" kotlin("plugin.compose") version "2.1.21" id("org.jetbrains.compose")
id("org.jetbrains.compose.hot-reload") version "1.0.0-alpha10" } 11
settings.gradle.kts plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "0.10.0" } 12
起動方法 13
IDE から Run 14
./gradlew jvmRunHot --mainClass "MainClassName" 15
Desktop target が必要 16
→ 試せるアプリがない 17
仕方ないので新規プロジェクトを作る 18
IntelliJ IDEA に Kotlin Multiplatform プラグインを入 れる 19
20
21
22
仕方ないので公式ドキュメントを眺める 23
App fun main() = application { Window( onCloseRequest = ::exitApplication,
alwaysOnTop = true, title = "composedemo", ) { App() } } 24
Greeter Button(onClick = { showContent = !showContent }) { Column
{ Text(Greeting().greet()) } } 25
commonMain の Greeting.kt fun greet(): String { return "Hello!" }
26
# 27
https://www.jetbrains.com/help/kotlin- multiplatform-dev/compose-hot-reload.html 28
Thank you 29