Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
compose-hot-reload を試そうとした話
Search
Takuji Nishibayashi
June 04, 2025
Technology
0
110
compose-hot-reload を試そうとした話
Takuji Nishibayashi
June 04, 2025
Tweet
Share
More Decks by Takuji Nishibayashi
See All by Takuji Nishibayashi
CameraX使ってみた
takuji31
0
260
kotlinx.datetime 使ってみた
takuji31
0
900
HiltのCustom Componentについて
takuji31
0
320
java.timeをAndroidで使う
takuji31
0
160
KSPを使ってコード生成
takuji31
0
410
Kotlin Symbol Processing API (KSP) を使って Kotlin ア プリケーションの開発を効率化する
takuji31
1
3k
kotlinx.serialization
takuji31
0
640
kanmoba-returns-02.pdf
takuji31
0
250
AndroidXとKotlin Coroutines
takuji31
0
400
Other Decks in Technology
See All in Technology
freeeにおけるファンクションを超えた一気通貫でのAI活用
jaxx2104
3
600
21st ACRi Webinar - AMD Presentation Slide (Nao Sumikawa)
nao_sumikawa
0
200
AIにおける自由の追求
shujisado
3
470
小さな判断で育つ、大きな意思決定力 / 20251204 Takahiro Kinjo
shift_evolve
PRO
1
300
Product Engineer
resilire
0
130
AI/MLのマルチテナント基盤を支えるコンテナ技術
pfn
PRO
5
720
Active Directory 勉強会 第 6 回目 Active Directory セキュリティについて学ぶ回
eurekaberry
16
5.9k
pmconf2025 - データを活用し「価値」へ繋げる
glorypulse
0
440
Noを伝える技術2025: 爆速合意形成のためのNICOフレームワーク速習 #pmconf2025
aki_iinuma
2
1k
事業部のプロジェクト進行と開発チームの改善の “時間軸" のすり合わせ
konifar
9
2.8k
段階的に進める、 挫折しない自宅サーバ入門
yu_kod
5
2.2k
Master Dataグループ紹介資料
sansan33
PRO
1
4k
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
GitHub's CSS Performance
jonrohan
1032
470k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
700
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
960
Docker and Python
trallard
46
3.7k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Automating Front-end Workflow
addyosmani
1371
200k
Context Engineering - Making Every Token Count
addyosmani
9
460
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