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
Famm Android改善記
Search
akatsuki174
March 22, 2023
Programming
0
330
Famm Android改善記
2023/3/22 Ebisu.mobile #1
スライド内に一部動画が含まれているので、YouTubeの閲覧をおすすめします。
akatsuki174
March 22, 2023
Tweet
Share
More Decks by akatsuki174
See All by akatsuki174
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
5.3k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
370
オフライン勉強会ぼっち対策
akatsuki174
1
540
Xcode 15の新機能
akatsuki174
0
2.5k
AndroidにもSelect Photosがやってきた
akatsuki174
0
1.1k
Flutterアプリ開発にネイティブコードはどこまで求められるのか
akatsuki174
2
4.2k
UIKitのアップデート #WWDC22
akatsuki174
4
1.2k
職能/職種横断でチームの生産性を高める
akatsuki174
2
5.7k
最強の500系エラー画面を探し求めて
akatsuki174
1
4.2k
Other Decks in Programming
See All in Programming
Modular Monolith Go Server with GraphQL Federation + gRPC
110y
1
580
Scala アプリケーションのビルドを改善してデプロイ時間を 1/4 にした話 | How I improved the build of my Scala application and reduced deployment time by 4x
nomadblacky
1
180
LangGraphでのHuman-in-the-Loopの実装
os1ma
3
1.1k
Jakarta EE meets AI
ivargrimstad
1
500
僕が思い描くTypeScriptの未来を勝手に先取りする
yukukotani
9
2.4k
Jakarta EE meets AI
ivargrimstad
0
380
Crafting Cross-Platform Adventures: Building a Game Engine with Kotlin Multiplatform
dwursteisen
0
120
GraphQL あるいは React における自律的なデータ取得について
quramy
11
3k
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
470
Android開発以外のAndroid開発経験の活かしどころ
konifar
2
1k
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
140
マルチモジュールにおけるテスト最適化
fxwx23
0
210
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
42
5.7k
Documentation Writing (for coders)
carmenintech
65
4.3k
Ruby is Unlike a Banana
tanoku
96
11k
[RailsConf 2023] Rails as a piece of cake
palkan
48
4.6k
Principles of Awesome APIs and How to Build Them.
keavy
125
16k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
41
6.5k
Web Components: a chance to create the future
zenorocha
308
42k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.9k
Bash Introduction
62gerente
608
210k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Build your cross-platform service in a week with App Engine
jlugia
228
18k
Transcript
Famm Android ٕज़ෛ࠴ղফه Ebisu.mobile #1 @akatsuki174
֓ཁ
֓ཁ • Android൛FammͰͲΜͳٕज़ෛ࠴͕͋ΓɺͲΜͳ ۤ࿑͕͋ͬͨͷ͔Λհ • ΈΜͳͷʹཱͨͳ͍͜ͱʢݹ͍Ҩ࢈͕ͳ͍͜ͱʣ Λف͍ͬͯΔΑ…
ࣗݾհ
• Android/iOS/FlutterΤϯδχΞ • 1ࣇͷ • εϓϥτΡʔϯ3Έ͡ɹɹ γϡʔλʔ
ThreeTenABPͷআ
ThreeTenABPͱ • Java8͔Βಋೖ͞ΕͨDate and Time APIΛAndroid Ͱར༻ՄೳͳΑ͏ʹόοΫϙʔτͨ͠ͷ • ৄͪ͘͜͠ΒΛͲ͏ͧ •
https://techblog.timers-inc.com/entry/ 2016/06/27/121939
None
ࠩ͠ସ͑࡞ۀ • جຊతʹorg.threeten.bpΛjava.timeʹ͢Δ͚ͩ ͰOK
ViewPager-> ViewPager2ͷҠߦ
ViewPagerʢ2ʣͱ • JetpackϥΠϒϥϦͷதͷ̍ͭ • ը໘εϫΠϓͰϏϡʔϑϥάϝϯτΛΓସ͑Δ ͜ͱ͕Ͱ͖Δ
Nested Scroll͕ޮ͔ͳ͍ • ViewPagerͷதͰViewPagerΛ͍ͬͯΔͱ͜Ζ͕ ͋ͬͨ • ViewPagerͰͳ͔͕ͬͨɺViewPager2ʹ͠ ͨͱ͜ΖͷεΫϩʔϧ͕༏ઌ͞Εͯ͠·͍ɺࢠͷ εΫϩʔϧ͕Ͱ͖ͳ͘ͳͬͯ͠·ͬͨ
None
Nested Scroll͕ޮ͔ͳ͍ IUUQTEFWFMPQFSBOESPJEDPNEFWFMPQVJWJFXTBOJNBUJPOTWQNJHSBUJPO IMFOOFTUFE TDSPMMBCMFT
IUUQTHJUIVCDPNBOESPJEWJFXTXJEHFUTTBNQMFTCMPCNBTUFS7JFX1BHFSBQQTSDNBJOKBWB BOESPJEYWJFXQBHFSJOUFHSBUJPOUFTUBQQ/FTUFE4DSPMMBCMF)PTULU
ίʔυྫ
None
࣍View͕νϥݟͤͰ͖ͳ͍ • ԣεΫϩʔϧ͕Ͱ͖ΔΑ͏ʹͨ͠Pager෦Ͱى͖ ͨ • ࣍ͷView͕νϥݟ͑͢ΔUIʹ͍͕ͯͨͣ͠ɺ࣍ ͷView͕ݟ͑ͳ͍ঢ়ଶʹͳ͍ͬͯͨ
None
ίʔυྫ
None
None
ͦͷଞमਖ਼ • ListenerAdapterViewPager2ʹ߹͏Α͏ʹमਖ਼
ExoPlayerͷΞοϓσʔτ ʢr2.2.0->2.18.2ʣ
ExoPlayerͱ • AndroidͰಈըԻָΛѻ͏ͨΊͷMediaPlayer • FammͰಈը࠶ੜͷͨΊʹಋೖ͍ͯ͠Δ
ϋϚΓϙΠϯτ • ͱʹ͔͘API͕͜Ζ͜ΖมΘΔ • ϚΠφʔόʔδϣϯΞοϓσʔτͰมΘΔ • 2.4.0͔ΒSeekBar->DefaultTimeBarʹมΘͬͨ
ExoPlayer->Jetpack Media3 ͷҠߦ ʢதࢭʣ
Jetpack Media3ͱ • ಈըɺԻָ༻ͷϥΠϒϥϦ • ExoPlayer͕౷߹͞Ε͍ͯΔ • কདྷతʹMedia3ͷҠߦ͕ඞཁ
IUUQTTQFBLFSEFDLDPNNJYJ@FOHJOFFSTOJBOOPEPOHIVB[BJTIFOHBQVSJOP[VPSJGBOH
Ұ෦͏·͍͔͘ͳ͔ͬͨ • मਖ਼͕େ෯ʹඞཁͳՕॴͳ͘ɺجຊతʹ͏·͘ ͍ͬͨ • ͕ɺҰ෦Ϙλϯλοϓʹ͕ൃੜͨ͠ • ͷͪͷόʔδϣϯΞοϓͰมԽ͋Δ͔ͳ͊ͱࢥ͍ ͍ͬͨΜอཹ
None
None
None
IUUQTEFWFMPQFSBOESPJEDPNDPEFMBCTFYPQMBZFSJOUSP IMKB
Glide->CoilͷҠߦ ʢதࢭʣ
Coilʹ͠Α͏ͱͨ͠ • ͜Ε͔ΒJetpackComposeΛೖΕ͍͖͍ͯͨͷͰ Coilʹ͠Α͏ͱࢥͬͨ • ͕ɺCoil൛GlideFaceDetectionTransformationɹ ʢإͷҐஔΛத৺ʹBitmapΛੜ͢Δ Transformationʣ͕ݟ͔ͭΒͣɺͻͱ·ͣGlideΛ ͍ଓ͚Δ͜ͱʹ
ͦͷଞ
ͱʹ͔͘Ξοϓσʔτ • όʔδϣϯ൪߸Λม͑Δ͚ͩͰOKͳϥΠϒϥϦ ؚΊͯͱʹ͔͘ݹ͍ϥΠϒϥϦΛΞοϓσʔτͨ͠ • KotlinJetpackComposeͷͨΊʹΞοϓσʔτ
༨ஊɿDependabot • Ξοϓσʔτ͕ೖ͍ͬͯΔϥΠϒϥϦ͕͋ͬͨΒࣗ ಈͰPRΛ࡞ͬͯ͘ΕΔͭ • GitHub্Ͱϙνϙν͢Δ͚ͩͰઃఆͰ͖Δ • νϟϯε͕͋ΕೖΕͯΈ͔ͨͬͨ
͓ΘΓ