Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Say good-bye to Kotlin Android Extensions

okuzawats
November 27, 2020

Say good-bye to Kotlin Android Extensions

「YUMEMI.apk #2 〜ようこそ!Android 11〜」(2020年11月27日)での発表資料です。

okuzawats

November 27, 2020
Tweet

More Decks by okuzawats

Other Decks in Programming

Transcript

  1. Say good-bye to Kotlin Android Extensions okuzawats YUMEMI.apk #2 2020/11/27

    converted to markdown format 2022/05/28 © 2020 okuzawats © 2020 okuzawats
  2. Who? okuzawats Twitter: okuzawats GitHub: okuzawats Android / Flutter( )

    @ Fuller, Inc. Say good-bye to Kotlin Android Extensions Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats 2 2
  3. Kotlin 1.4.20-M2 Deprecate Kotlin Android Extensions compiler plugin 3 3

    Say good-bye to Kotlin Android Extensions Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  4. Kotlin Android Extensions views parcelize 4 4 Say good-bye to

    Kotlin Android Extensions Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  5. Kotlin Android Extensions views (dead) parcelize (dead) 5 5 Say

    good-bye to Kotlin Android Extensions Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  6. views "not recommended practice" 6 6 Say good-bye to Kotlin

    Android Extensions Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  7. Alternatives findViewById: traditional way ViewBinding: can use existing layout DataBinding:

    can bind variables in layout file 7 7 Say good-bye to Kotlin Android Extensions Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  8. Alternatives findViewById: traditional way ViewBinding: can use existing layout DataBinding:

    can bind variables in layout file 8 8 Say good-bye to Kotlin Android Extensions Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  9. Enable ViewBinding 9 9 Say good-bye to Kotlin Android Extensions

    Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  10. Enable ViewBinding 10 10 Say good-bye to Kotlin Android Extensions

    Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  11. Enable ViewBinding 11 11 Say good-bye to Kotlin Android Extensions

    Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  12. Enable ViewBinding 12 12 Say good-bye to Kotlin Android Extensions

    Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  13. Enable ViewBinding wada811 / ViewBinding-ktx 13 13 Say good-bye to

    Kotlin Android Extensions Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  14. Disable Kotlin Android Extensions (views) 14 14 Say good-bye to

    Kotlin Android Extensions Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  15. Kotlin Android Extensions (parcelize) 15 15 Say good-bye to Kotlin

    Android Extensions Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  16. Kotlin Android Extensions (parcelize) to When update Kotlin 1.4.20-M2 16

    16 Say good-bye to Kotlin Android Extensions Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats
  17. Before: After: 17 17 Say good-bye to Kotlin Android Extensions

    Say good-bye to Kotlin Android Extensions © 2020 okuzawats © 2020 okuzawats