Slide 1

Slide 1 text

Famm Android ٕज़ෛ࠴ղফه Ebisu.mobile #1 @akatsuki174

Slide 2

Slide 2 text

֓ཁ

Slide 3

Slide 3 text

֓ཁ • Android൛FammͰͲΜͳٕज़ෛ࠴͕͋ΓɺͲΜͳ ۤ࿑͕͋ͬͨͷ͔Λ঺հ • ΈΜͳͷ໾ʹཱͨͳ͍͜ͱʢݹ͍Ҩ࢈͕ͳ͍͜ͱʣ Λف͍ͬͯΔΑ…

Slide 4

Slide 4 text

ࣗݾ঺հ

Slide 5

Slide 5 text

• Android/iOS/FlutterΤϯδχΞ • 1ࣇͷ฼ • εϓϥτΡʔϯ3͸΋Έ͡ɹɹ γϡʔλʔ

Slide 6

Slide 6 text

ThreeTenABPͷ࡟আ

Slide 7

Slide 7 text

ThreeTenABPͱ͸ • Java8͔Βಋೖ͞ΕͨDate and Time APIΛAndroid Ͱར༻ՄೳͳΑ͏ʹόοΫϙʔτͨ͠΋ͷ • ৄ͘͠͸ͪ͜ΒΛͲ͏ͧ • https://techblog.timers-inc.com/entry/ 2016/06/27/121939

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

ࠩ͠ସ͑࡞ۀ • جຊతʹ͸org.threeten.bpΛjava.timeʹ͢Δ͚ͩ ͰOK

Slide 10

Slide 10 text

ViewPager-> ViewPager2΁ͷҠߦ

Slide 11

Slide 11 text

ViewPagerʢ2ʣͱ͸ • JetpackϥΠϒϥϦͷதͷ̍ͭ • ը໘εϫΠϓͰϏϡʔ΍ϑϥάϝϯτΛ੾Γସ͑Δ ͜ͱ͕Ͱ͖Δ

Slide 12

Slide 12 text

Nested Scroll͕ޮ͔ͳ͍໰୊ • ViewPagerͷதͰViewPagerΛ࢖͍ͬͯΔͱ͜Ζ͕ ͋ͬͨ • ViewPagerͰ͸໰୊ͳ͔͕ͬͨɺViewPager2ʹ͠ ͨͱ͜Ζ਌ͷεΫϩʔϧ͕༏ઌ͞Εͯ͠·͍ɺࢠͷ εΫϩʔϧ͕Ͱ͖ͳ͘ͳͬͯ͠·ͬͨ

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

Nested Scroll͕ޮ͔ͳ͍໰୊ IUUQTEFWFMPQFSBOESPJEDPNEFWFMPQVJWJFXTBOJNBUJPOTWQNJHSBUJPO IMFOOFTUFE TDSPMMBCMFT

Slide 15

Slide 15 text

IUUQTHJUIVCDPNBOESPJEWJFXTXJEHFUTTBNQMFTCMPCNBTUFS7JFX1BHFSBQQTSDNBJOKBWB BOESPJEYWJFXQBHFSJOUFHSBUJPOUFTUBQQ/FTUFE4DSPMMBCMF)PTULU

Slide 16

Slide 16 text

ίʔυྫ

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

࣍View͕νϥݟͤͰ͖ͳ͍໰୊ • ԣεΫϩʔϧ͕Ͱ͖ΔΑ͏ʹͨ͠Pager෦෼Ͱى͖ ͨ໰୊ • ࣍ͷView͕νϥݟ͑͢ΔUIʹ͍ͯͨ͠͸͕ͣɺ࣍ ͷView͕ݟ͑ͳ͍ঢ়ଶʹͳ͍ͬͯͨ

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

ίʔυྫ

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

ͦͷଞमਖ਼ • Listener΍Adapter΋ViewPager2ʹ߹͏Α͏ʹमਖ਼

Slide 24

Slide 24 text

ExoPlayerͷΞοϓσʔτ ʢr2.2.0->2.18.2ʣ

Slide 25

Slide 25 text

ExoPlayerͱ͸ • AndroidͰಈը΍ԻָΛѻ͏ͨΊͷMediaPlayer • FammͰ͸ಈը࠶ੜͷͨΊʹಋೖ͍ͯ͠Δ

Slide 26

Slide 26 text

ϋϚΓϙΠϯτ • ͱʹ͔͘API͕͜Ζ͜ΖมΘΔ • ϚΠφʔόʔδϣϯΞοϓσʔτͰ΋มΘΔ • 2.4.0͔ΒSeekBar->DefaultTimeBarʹมΘͬͨ

Slide 27

Slide 27 text

ExoPlayer->Jetpack Media3 ΁ͷҠߦ ʢதࢭʣ

Slide 28

Slide 28 text

Jetpack Media3ͱ͸ • ಈըɺԻָ༻ͷϥΠϒϥϦ • ExoPlayer͕౷߹͞Ε͍ͯΔ • কདྷతʹ͸Media3΁ͷҠߦ͕ඞཁ

Slide 29

Slide 29 text

IUUQTTQFBLFSEFDLDPNNJYJ@FOHJOFFSTOJBOOPEPOHIVB[BJTIFOHBQVSJOP[VPSJGBOH

Slide 30

Slide 30 text

Ұ෦͏·͍͔͘ͳ͔ͬͨ • मਖ਼͕େ෯ʹඞཁͳՕॴ͸ͳ͘ɺجຊతʹ͸͏·͘ ͍ͬͨ • ͕ɺҰ෦Ϙλϯλοϓʹ໰୊͕ൃੜͨ͠ • ͷͪͷόʔδϣϯΞοϓͰมԽ͋Δ͔ͳ͊ͱࢥ͍ ͍ͬͨΜอཹ

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

IUUQTEFWFMPQFSBOESPJEDPNDPEFMBCTFYPQMBZFSJOUSP IMKB

Slide 35

Slide 35 text

Glide->Coil΁ͷҠߦ ʢதࢭʣ

Slide 36

Slide 36 text

Coilʹ͠Α͏ͱͨ͠ • ͜Ε͔ΒJetpackComposeΛೖΕ͍͖͍ͯͨͷͰ Coilʹ͠Α͏ͱࢥͬͨ • ͕ɺCoil൛GlideFaceDetectionTransformationɹ ʢإͷҐஔΛத৺ʹBitmapΛੜ੒͢Δ Transformationʣ͕ݟ͔ͭΒͣɺͻͱ·ͣGlideΛ ࢖͍ଓ͚Δ͜ͱʹ

Slide 37

Slide 37 text

ͦͷଞ

Slide 38

Slide 38 text

ͱʹ͔͘Ξοϓσʔτ • όʔδϣϯ൪߸Λม͑Δ͚ͩͰOKͳϥΠϒϥϦ΋ ؚΊͯͱʹ͔͘ݹ͍ϥΠϒϥϦΛΞοϓσʔτͨ͠ • Kotlin΋JetpackComposeͷͨΊʹΞοϓσʔτ

Slide 39

Slide 39 text

༨ஊɿDependabot • Ξοϓσʔτ͕ೖ͍ͬͯΔϥΠϒϥϦ͕͋ͬͨΒࣗ ಈͰPRΛ࡞ͬͯ͘ΕΔ΍ͭ • GitHub্Ͱϙνϙν͢Δ͚ͩͰઃఆͰ͖Δ • νϟϯε͕͋Ε͹ೖΕͯΈ͔ͨͬͨ

Slide 40

Slide 40 text

͓ΘΓ