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
KMP / CMP 詳細解説 + ライブデモ(技育 CAMP アカデミア - KMP/CMP ...
Search
Ryo WATANABE
July 30, 2025
Technology
0
59
KMP / CMP 詳細解説 + ライブデモ(技育 CAMP アカデミア - KMP/CMP 勉強会)
Ryo WATANABE
July 30, 2025
Tweet
Share
More Decks by Ryo WATANABE
See All by Ryo WATANABE
共有と分離 - Compose Multiplatform "本番導入" の設計指針
error96num
2
2.7k
Compose Multiplatform 製アプリの OSS ライセンス表示
error96num
0
380
Edge-to-edge「強制」への対応
error96num
2
3k
Other Decks in Technology
See All in Technology
Claude Codeを使った情報整理術
knishioka
15
11k
"人"が頑張るAI駆動開発
yokomachi
1
670
田舎で20年スクラム(後編):一個人が企業で長期戦アジャイルに挑む意味
chinmo
1
110
松尾研LLM講座2025 応用編Day3「軽量化」 講義資料
aratako
14
4.8k
AIBuildersDay_track_A_iidaxs
iidaxs
4
1.7k
モダンデータスタックの理想と現実の間で~1.3億人Vポイントデータ基盤の現在地とこれから~
taromatsui_cccmkhd
2
290
AI時代のアジャイルチームを目指して ー スクラムというコンフォートゾーンからの脱却 ー / Toward Agile Teams in the Age of AI
takaking22
1
390
Kiro を用いたペアプロのススメ
taikis
4
2.2k
Knowledge Work の AI Backend
kworkdev
PRO
0
340
ペアーズにおけるAIエージェント 基盤とText to SQLツールの紹介
hisamouna
2
2k
Introduce marp-ai-slide-generator
itarutomy
0
170
意外と知らない状態遷移テストの世界
nihonbuson
PRO
1
380
Featured
See All Featured
[SF Ruby Conf 2025] Rails X
palkan
0
660
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
SEO for Brand Visibility & Recognition
aleyda
0
4.1k
What does AI have to do with Human Rights?
axbom
PRO
0
1.9k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
120
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
280
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
75
Odyssey Design
rkendrick25
PRO
0
450
Evolving SEO for Evolving Search Engines
ryanjones
0
89
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Side Projects
sachag
455
43k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
76
Transcript
STORES 株式会社 2025年7月30日(水) 技育 CAMP アカデミア Kotlin Multiplatform / Compose
Multiplatform を活用した モバイルアプリ開発の最前線 KMP/CMP 詳細解説 + ライブデモ
• 渡邊 亮 / naberyo (@error96num) • STORES 株式会社 •
Android エンジニア • キッチンディスプレイ開発で KMP/CMP 活用! • 先週モロッコへ行ってきました 2 自己紹介 2
KMP/CMP開発に必要なもの Xcode JDK Android Studio + KMP Plugin 3
開発に必要なもの 4
プロジェクト作成 5
プロジェクト作成 6
プロジェクト作成 7
デモ1
Source sets androidMain : Android のアプリでしか使わないコード iosMain : iOS のアプリでしか使わないコード
commonMain : すべてのプラットフォームで共有されるコード 9
デモ2
宣言的UI - UIを「何をしたいか」で記述 11
宣言的UI - UIを「何をしたいか」で記述 12
宣言的UI - UIを「何をしたいか」で記述 13
宣言的UI - UIを「何をしたいか」で記述 14
デモ3
Source sets と expect/actual androidMain iosMain commonMain expect fun(プラットフォーム非依存のI/F) actual
fun actual fun Android 固有の API iOS 固有の API 16 実装 実装 参照 参照
Source sets と expect/actual - VideoPlayerの例 androidMain iosMain commonMain expect
fun VideoPlayer actual fun VideoPlayer actual fun VideoPlayer ExoPlayer AVPlayer 17 実装 実装 参照 参照
KMP/CMP を使えば プラットフォーム間でコードを共有しつつ expect / actual で柔軟に実装を切り分けられる 18
参考文献 • Kotlin Multiplatform quickstart | Kotlin Multiplatform Documentation •
Create your Compose Multiplatform app | Kotlin Multiplatform Documentation 19