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
Jetpack Composeでアプリを開発して遭遇した問題
Search
Nabe
February 22, 2022
Programming
0
620
Jetpack Composeでアプリを開発して遭遇した問題
2022/02/22
Mobile勉強会 Wantedly × チームラボ #4
https://connpass.com/event/237606/
Nabe
February 22, 2022
Tweet
Share
More Decks by Nabe
See All by Nabe
Android アプリのプロジェクトをモダンにし続ける工夫
numeroanddev
1
530
Material 3で Material 2ぽい見た目にする
numeroanddev
2
420
Google I/O 2023 の 個人的おすすめセッションの紹介 / Introducing interesting sessions at Google IO 2023
numeroanddev
1
340
Jetpack ComposeのTalkback対応/Improve Talkback in Jetpack Compose
numeroanddev
0
380
Baseline Profilesでアプリのパフォーマンスを向上させる / Improve app performance with Baseline Profiles
numeroanddev
0
810
Material3(Material You) の変更点 / Changes in Material3(Material You)
numeroanddev
4
1.4k
Refreshing widgets in Android 12
numeroanddev
2
580
既存のAndroidプロジェクトを Jetpack Composeに移行してみる / Migrate existing Android project to Jetpack Compose
numeroanddev
1
810
Material Motion
numeroanddev
0
520
Other Decks in Programming
See All in Programming
Method Swizzlingを行うライブラリにおけるマルチモジュール設計
yoshikma
0
120
ECMAScript、Web標準の型はどう管理されているか / How ECMAScript and Web standards types are maintained
petamoriken
3
390
いまから追い上げる、Jetpack Compose トレーニング
nyafunta9858
0
500
Swiftコードバトル必勝法
toshi0383
0
150
Amazon Neptuneで始める初めてのグラフDB ー グラフDBを使う意味を考える ー
satoshi256kbyte
2
260
意外とフォントが大事だった話 / Font Issues on Internationalization
fumi23
0
110
watsonx.ai Dojo #2 生成AIを使ったアプリ開発入門編
oniak3ibm
PRO
0
110
Why Prism?
kddnewton
4
1.7k
[DroidKaigi 2024] Android ViewからJetpack Composeへ 〜Jetpack Compose移行のすゝめ〜 / From Android View to Jetpack Compose: A Guide to Migration
syarihu
1
550
Regular Expressions, REXML, Automata Learning
makenowjust
0
220
実践 Advanced CallKit 〜快適な通話の実現に向けて〜
mot_techtalk
3
140
労務ドメインを快適に開発する方法 / How to Comfortably Develop in the Labor Domain
yuki21
1
250
Featured
See All Featured
The Cult of Friendly URLs
andyhume
76
6k
Building a Modern Day E-commerce SEO Strategy
aleyda
36
6.8k
How GitHub (no longer) Works
holman
310
140k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
227
52k
4 Signs Your Business is Dying
shpigford
179
21k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
38
9.2k
GraphQLの誤解/rethinking-graphql
sonatard
65
9.8k
Building Your Own Lightsaber
phodgson
101
6k
Debugging Ruby Performance
tmm1
72
12k
Embracing the Ebb and Flow
colly
83
4.4k
The Invisible Customer
myddelton
119
13k
Unsuck your backbone
ammeep
667
57k
Transcript
.PCJMFษڧձ8BOUFEMZYνʔϜϥϘ ,B[VLJ8BUBOBCF +FUQBDL$PNQPTFͰΞϓϦΛ ։ൃͯ͠ૺ۰ͨ͠
1SPGJMF w ͳ w 5XJUUFS!/BCF$PUU w (JU)VC/6NFSP"OE%FW w גࣜձࣾͯͳ w
"OESPJEJ04BQQMJDBUJPOFOHJOFFS
'VMM+FUQBDL$PNQPTFͰ։ൃͨ͠ΞϓϦ ΛࡢϦϦʔε͠·ͨ͠
IUUQTIBUFOBDPSQKQQSFTTSFMFBTFFOUSZ
IUUQTEFWFMPQFSIBUFOBTUB ff DPNFOUSZ
ࠓ͢͜ͱ w +FUQBDL$PNQPTFͰΞϓϦΛ։ൃͯ͠ૺ۰ͨ͠ͱͲ͏ରॲͨ͠ͷ͔ w ϨΠΞταΠζऔಘͰύϑΥʔϚϯεԼ w ด͡ΒΕͳ͍%SPQEPXO.FOV w άϦου͔͠දࣔͰ͖ͳ͍-B[Z(SJE w
ߋ৽Ͱ͖ͳ͍"DDPNQBOJTU1BHFS
ϨΠΞταΠζऔಘͰύϑΥʔϚϯε Լٙ
ϨΠΞταΠζऔಘͰύϑΥʔϚϯεԼٙ ֓ཁ w "OESPJE7JFXͰϨΠΞτͷαΠζΛऔΖ͏ͱ͢Δͱ 0O(MPCBM-BZPVU-JTUFOFSͷλΠϛϯάͰऔΔͱ͍͏ํ๏͕͋Δ w $PNQPTFͰ.PEJ fi FSPO4J[F$IBOHFEͰಉ͡Α͏ͳ͜ͱ͕Ͱ͖Δ w
"OESPJE7JFXͱಉ͡Α͏ͳ࣮Λ͢ΔͱඞཁҎ্ʹ3FDPNQPTF͞ΕΔΑ ͏ʹͳͬͨ w ʹݟ͑ͯύϑΥʔϚϯε͕མ͍ͪͯͨΘ͚Ͱͳ͍
ϨΠΞταΠζऔಘͰύϑΥʔϚϯεԼٙ ֓ཁ
ϨΠΞταΠζऔಘͰύϑΥʔϚϯεԼٙ ݪҼ w $PNQPTJUJPOˠ-BZPVUˠ%SBXJOHͱ͍ͬͨྲྀΕͰ$PNQPTFϨΠΞτ ͞ΕΔ w .PEJ fi FSPO4J[F$IBOHFEͰΛड͚औΔͷ-BZPVUͷλΠϛϯάͰɺड ͚औͬͨΛผͷ$PNQPTBCMFʹ͢ͱ%SBXJOH͕͞Εͨޙʹ
3FDPNQPTF͞Εͯ$PNQPTJUJPO͔Β࠶ϨΠΞτ͞ΕΔ w ͜Ε͕ෳͷՕॴͰ࣮͞Ε͍ͯͨΓར༻͞Ε͍ͯΔͱύϑΥʔϚϯεͷ Լʹͭͳ͕Δ
ϨΠΞταΠζऔಘͰύϑΥʔϚϯεԼٙ ରॲ w ࣗϨΠΞτͷαΠζΛऔΔ͚ͩͳΒ#PY8JUI$POTUSBJOUΛ͏ w ϨΠΞτͷαΠζ͕ඞཁʹͳΔෳࡶͳϨΠΞτͷ߹ΧελϜϨΠΞ τΛ࡞Δ
ด͡ΒΕͳ͍%SPQEPXO.FOV
ด͡ΒΕͳ͍%SPQEPXO.FOV ֓ཁ w -JHIU5IFNF%BSL5IFNFͷΓସ͑Λ%SPQEPXO.FOVͷ $PNQPTBCMFΛ࣮ͬͯͨ͠ w ςʔϚ͕ΓସΘΔͱ%SPQEPXO.FOV͕Γଓ͚ͨ
ด͡ΒΕͳ͍%SPQEPXO.FOV ֓ཁ
ด͡ΒΕͳ͍%SPQEPXO.FOV ݪҼ w $PNQPTFͷ%SPQEPXO.FOV෦Ͱ8JOEPXʹ7JFXΛஔ͍ͯද͍ࣔͤͯ͞Δ w %SPQEPXO.FOV͕ด͡ΒΕΔ࣌8JOEPX͔Β7JFXΛऔΓআ͘ॲཧΛݺΜͰ͍ Δ w ͜͜ͰςʔϚΓସ͑࣌ʹSFDSFBUF͕෦ͰߦΘΕΔ w
8JOEPX͔Β7JFXΛऔΓআ͘ॲཧ͕ऴΘΔલʹSFDSFBUF͕ߦΘΕͯ %SPQEPXO.FOV͕ͬͯ͠·͏ w %SPQEPXO.FOVͷঢ়ଶͰ͋ΔFYQBOEFEGBMTF͕ͩ෦ॲཧ໋͕ྩతͰ͋Δ ͨΊζϨ͕ى͖Δ
ด͡ΒΕͳ͍%SPQEPXO.FOV ରॲ w ςʔϚΓସ͑ͷॲཧͷલʹEFMBZΛೖΕͯ%SPQEPXO.FOV͕ด͡ΒΕͯ ͍ΔͰ͋Ζ͏λΠϛϯάͰSFDSFBUF͕ߦΘΕΔΑ͏λΠϛϯάΛΒͤ·͠ ͨ
άϦου͔͠දࣔͰ͖ͳ͍-B[Z(SJE
άϦου͔͠දࣔͰ͖ͳ͍-B[Z(SJE ରॲ w -B[Z7FSUJDBM(SJE-B[Z)PSJ[POUBM(SJEͰΞΠςϜͷ4QBO͕ઃఆͰ͖ͳ ͍ w άϦουͷؒʹԣ෯͍ͬͺ͍ͷηΫγϣϯΛදࣔͰ͖ͳ͍
άϦου͔͠දࣔͰ͖ͳ͍-B[Z(SJE ରॲ w -B[Z$PMVNO-B[Z3PXͷΞΠςϜͷϨΠΞτΛͯ͠ηΫγϣϯͱά ϦουΛࠞͥͯදࣔͰ͖ΔΑ͏ʹͨ͠ w BMQIBͰ(SJE4QBO*UFN͕Ճ͞Εͯ4QBOͷઃఆ͕Ͱ͖ΔΑ͏ʹ ͳͬͨ w BMQIB࣌ͰࢥͬͨΑ͏ʹ4QBOͷڍಈ͕ಈ͍ͯ͘Εͳ͍ͷͰࠓޙʹ
ظ
ߋ৽Ͱ͖ͳ͍"DDPNQBOJTU1BHFS
ߋ৽Ͱ͖ͳ͍"DDPNQBOJTU1BHFS ֓ཁ w "DDPNQBOJTU1BHFSͰ෦࣮͕ΧελϜϨΠΞτ͔Β -B[Z$PMVNO-B[Z3PXʹมΘͬͨ w ͦͷӨڹͰ"1*େ͖͘มΘͬͨ w P ff
TFUɺFOBCMF%SBHɺແݶϧʔϓͷ"1*আ w Ҡߦޙͷແݶϧʔϓ1BHFSͷ࣮Ͱ5BCͷΠϯδέʔλͷ࿈ܞ͕Ͱ͖ͳ ͍
ߋ৽Ͱ͖ͳ͍"DDPNQBOJTU1BHFS ରॲ w P ff TFUͷΛݩʑେ͖͘ઃఆ͍ͯͨ͠Θ͚Ͱͳ͍ͷͰɺ-B[ZܥͷڍಈͰେ͖ͳ͕ࠩͳ͔ͬͨ w FOBCMF%SBHͷΘΓʹ-B[ZܥͷεΫϩʔϧྔΛʹ͢Δ.PEJ fi FSΛ࣮ͯͦ͠ΕΛར༻ͨ͠
w Ͱ-B[ZܥʹVTFS4DSPMM&OBCMFEͷΦϓγϣϯ͕૿͑ͨͷͰ͜Ε͕1BHFSͰ͑Δ Α͏ʹͳΔ͔
ߋ৽Ͱ͖ͳ͍"DDPNQBOJTU1BHFS ରॲ w ແݶϧʔϓ1BHFSͷαϯϓϧίʔυΛࢀߟʹ࣮ w 5BCͷΠϯδέʔλΛແݶϧʔϓͰ͑ΔΑ͏ʹίʔυΛ࣮ w ͦ͏͢ΔͱΠϯδέʔλͷΞχϝʔγϣϯ͕͑ͳ͍͕ग़ͯ͘ΔͷͰ࣍ͷ ͲͪΒ͔Ͱճආ͢Δඞཁ͕͋ͬͨ w
ແݶϧʔϓΛΊͯ5BCͷΠϯδέʔλͷΞχϝʔγϣϯΛ͢ w 5BCͷΠϯδέʔλͷΞχϝʔγϣϯΛఘΊͯແݶϧʔϓΛ͢ w νʔϜͰ͠߹ͬͯޙऀͰҠߦΛਐΊͨ
·ͱΊ w ৽͍ٕ͠ज़ͱ͍͏͜ͱ͋Γɺෆ͍ͯ͠Δػೳେ͖ͳ"1*ͷมߋΑ͘ ͋ͬͨ w ৭ʑʹૺ۰ͨ͠ͷͷ+FUQBDL$PNQPTFΛ༻͍ͨ։ൃշద w +FUQBDL$PNQPTFͷॊೈͳ"1*ͱએݴత6*ͱ͍͏ঢ়ଶཧ͔Βͷղ์
એ w ͯͳͰJ04"OESPJEΞϓϦΤϯδχΞΛ࠾༻͍ͯ͠·͢ʂ w ΧδϡΞϧͳ໘ஊͰ͖ΔͷͰͥͻؾܰʹ͓͕͚͍ͩ͘͞ʂ https://open.talentio.com/r/1/c/hatena/pages/28838
ࢀߟ w ϨΠΞταΠζऔಘͰύϑΥʔϚϯεԼٙ w IUUQTEFWFMPQFSBOESPJEDPNKFUQBDLDPNQPTFQIBTFTSFDPNQ MPPQ w άϦου͔͠දࣔͰ͖ͳ͍-B[Z(SJE w IUUQTBOESPJESFWJFXHPPHMFTPVSDFDPNDQMBUGPSNGSBNFXPSLT
TVQQPSU w ߋ৽Ͱ͖ͳ͍"DDPNQBOJTU1BHFS w IUUQTHJUIVCDPNHPPHMFBDDPNQBOJTU w IUUQTBOESPJESFWJFXHPPHMFTPVSDFDPNDQMBUGPSNGSBNFXPSLT TVQQPSU
5IBOLZPV