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
Takuji Nishibayashi
June 04, 2025
Technology
0
94
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
840
HiltのCustom Componentについて
takuji31
0
310
java.timeをAndroidで使う
takuji31
0
150
KSPを使ってコード生成
takuji31
0
400
Kotlin Symbol Processing API (KSP) を使って Kotlin ア プリケーションの開発を効率化する
takuji31
1
2.9k
kotlinx.serialization
takuji31
0
630
kanmoba-returns-02.pdf
takuji31
0
240
AndroidXとKotlin Coroutines
takuji31
0
390
Other Decks in Technology
See All in Technology
Simplifying Cloud Native app testing across environments with Dapr and Microcks
salaboy
0
170
技育祭2025【秋】 企業ピッチ/登壇資料(高橋 悟生)
hacobu
PRO
0
110
Git in Team
kawaguti
PRO
3
380
Liquid AI Hackathon Tokyo プレゼン資料
aratako
0
100
BI ツールはもういらない?Amazon RedShift & MCP Server で試みる新しいデータ分析アプローチ
cdataj
0
160
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
8.8k
[Codex Meetup Japan #1] Codex-Powered Mobile Apps Development
korodroid
2
910
ビズリーチ求職者検索におけるPLMとLLMの活用 / Search Engineering MEET UP_2-1
visional_engineering_and_design
1
140
業務効率化をさらに加速させる、ノーコードツールとStep Functionsのハイブリッド化
smt7174
2
140
能登半島地震で見えた災害対応の課題と組織変革の重要性
ditccsugii
0
990
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
14k
"プロポーザルってなんか怖そう"という境界を超えてみた@TSUDOI by giftee Tech #1
shilo113
0
200
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
11k
It's Worth the Effort
3n
187
28k
Embracing the Ebb and Flow
colly
88
4.9k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
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