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
390
Edge-to-edge「強制」への対応
error96num
2
3k
Other Decks in Technology
See All in Technology
プロンプトエンジニアリングを超えて:自由と統制のあいだでつくる Platform × Context Engineering
yuriemori
0
460
Web Intelligence and Visual Media Analytics
weblyzard
PRO
1
6.8k
WebDriver BiDi 2025年のふりかえり
yotahada3
1
240
Hardware/Software Co-design: Motivations and reflections with respect to security
bcantrill
1
150
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
3
390
サラリーマンソフトウェアエンジニアのキャリア
yuheinakasaka
41
19k
クラウドセキュリティの進化 — AWSの20年を振り返る
kei4eva4
0
130
Qiita Bash アドカレ LT #1
okaru
0
190
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
63k
コミュニティが持つ「学びと成長の場」としての作用 / RSGT2026
ama_ch
2
350
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
Kaggleコンペティション「MABe Challenge - Social Action Recognition in Mice」振り返り
yu4u
1
560
Featured
See All Featured
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
230
The untapped power of vector embeddings
frankvandijk
1
1.5k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
The SEO identity crisis: Don't let AI make you average
varn
0
52
AI: The stuff that nobody shows you
jnunemaker
PRO
2
180
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.5k
Amusing Abliteration
ianozsvald
0
87
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
82
Fireside Chat
paigeccino
41
3.8k
Embracing the Ebb and Flow
colly
88
5k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
44
Claude Code のすすめ
schroneko
67
210k
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