LINEの開発した小さなOSS Androidライブラリlichの紹介 / Introduction of lich

LINEの開発した小さなOSS Androidライブラリlichの紹介 / Introduction of lich

2019/9/25にFukuoka Growth Nextで開催されたiOS/Android Developers Night with HAKATA.swiftでの登壇資料です。
https://line.connpass.com/event/145036/

53850955f15249a1a9dc49df6113e400?s=128

LINE Developers

September 25, 2019
Tweet

Transcript

  1. "OESPJEϥΠϒϥϦ MJDIͷ঺հ -*/&'VLVPLB!TFJTVLF J04"OESPJE%FWFMPQFST/JHIUXJUI)","5"TXJGU

  2. !TFJTVLF ࣗݾ঺հ ίϛϡχέʔγϣϯΞϓϦʮ-*/&ʯͷ"OESPJE։ൃ ࣗ࡞ΩʔϘʔυ ΠϯσΟήʔϜ΍4QMBUPPO

  3. wઌ೔-*/&͔Βެ։͞ΕͨMJDIͱ͍ ͏ϥΠϒϥϦʹ͍ͭͯ wओʹ$PSPVUJOFʹ͍ͭͯ࿩͠·͢ ΞδΣϯμ

  4. wHJUIVCDPNMJOFMJDI w$PSPVUJOFͷೖ໳ʹ͍͍͔΋ʁ wผ݅Ͱ͕͢(MJEFͷ$PSPVUJOFରԠ wଞʹ΋$PNQPOFOU -JDI

  5. w MJGFDZDMF4DPQF  w MJGFDZDMFSVOUJNFLUY w "UPNJD3FGFSFODFͰ $PSPVUJO$POUFYUΛอ࣋ "VUP3FTFU-JGFDZDMF4DPQF

  6. w 4DPQF͸.BJO4DPQF w 4VQFSWJTPS+PC   %JTQBUDIFST.BJO "VUP3FTFU-JGFDZDMF4DPQF

  7. class XXXViewModel( ) : ViewModel(), CoroutineScope by MainScope() abstract class

    AbstractViewModel : CoroutineScope by MainScope() { @MainThread protected open fun onCleared() { } internal fun clear() { @Suppress("UNNECESSARY_SAFE_CALL") coroutineContext?.cancel() onCleared() } } 7JFX.PEFM w $PSPVUJOFʹΑΔ7JFX.PEFM
  8. 7JFX.PEFM w 'SBHNFOU,59ͷΑ͏ʹ؆୯ ʹੜ੒͢Δ͜ͱ΋Ͱ͖Δ w ඞཁͳػೳΛίϯύΫτʹ· ͱΊ͍ͯΔ

  9. ΫϥΠΞϯτΤϯδχΞ ʢଞ΋ʣઈࢍืूத $. ·ͣ͸ ʲ෱Ԭʳ-*/&ΤϯδχΞͱ͝൧ ͍͔͕Ͱ͔͢