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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Takuji Nishibayashi
June 04, 2025
Technology
0
140
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
990
HiltのCustom Componentについて
takuji31
0
350
java.timeをAndroidで使う
takuji31
0
170
KSPを使ってコード生成
takuji31
0
430
Kotlin Symbol Processing API (KSP) を使って Kotlin ア プリケーションの開発を効率化する
takuji31
1
3.1k
kotlinx.serialization
takuji31
0
670
kanmoba-returns-02.pdf
takuji31
0
270
AndroidXとKotlin Coroutines
takuji31
0
420
Other Decks in Technology
See All in Technology
【Developers Summit 2026】Memory Is All You Need:コンテキストの「最適化」から「継続性」へ ~RAGを進化させるメモリエンジニアリングの最前線~
shisyu_gaku
5
790
Introduction to Bill One Development Engineer
sansan33
PRO
0
370
2026年のAIエージェント構築はどうなる?
minorun365
11
2.4k
ソフトウェアアーキテクトのための意思決定術: Create Decision Readiness—The Real Skill Behind Architectural Decision
snoozer05
PRO
24
6.9k
AIに視覚を与えモバイルアプリケーション開発をより円滑に行う
lycorptech_jp
PRO
1
560
社内でAWS BuilderCards体験会を立ち上げ、得られた気づき / 20260225 Masaki Okuda
shift_evolve
PRO
1
140
「静的解析」だけで終わらせない。 SonarQube の最新機能 × AIで エンジニアの開発生産性を本気で上げる方法
xibuka
2
320
Snowflake Night #2 LT
taromatsui_cccmkhd
0
230
論文検索を日本語でできるアプリを作ってみた
sailen2
0
130
もう怖くないバックグラウンド処理 Background Tasks のすべて - Hakodate.swift #1
kantacky
0
130
Agentic Codingの実践とチームで導入するための工夫
lycorptech_jp
PRO
0
180
AWS CDK の目玉新機能「Mixins」とは / cdk-mixins
gotok365
2
280
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
RailsConf 2023
tenderlove
30
1.4k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
62
Ethics towards AI in product and experience design
skipperchong
2
210
Being A Developer After 40
akosma
91
590k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
190
Amusing Abliteration
ianozsvald
0
120
The Invisible Side of Design
smashingmag
302
51k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
230
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
750
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