Dive into AndroidX

Dive into AndroidX

AndroidX is a replacement / refactoring of Android Support Library. It was announced at Google I/O 2018 as alpha, and recently the stable version of it was officially released. Since Android Support Library v28 is the last version as a target to be maintained and afterward all the feature additions and bug fixes will be added to AndroidX, it is crucial for Android developers to migrate from Support Library to AndroidX.

In this talk, I have talked briefly about what AndroidX is, why Support Library needed to be refactored and re-polished as AndroidX, and finally how we can migrate to AndroidX.

F9856cc7a15ed2cb9e6ebfab41fdf1cf?s=128

Shohei Kawano

October 07, 2018
Tweet

Transcript

  1. %JWFJOUP"OESPJE9 4IPIFJ,BXBOP !TIBVOLBXBOP

  2. "OESPJE9 w l"OESPJE&YUFOTJPO-JCSBSJFTz w "OOPVODFEJO(PPHMF*0 w 3FQMBDFNFOU 3FGBDUPSJOH PGUIFl4VQQPSU-JCSBSZz

  3. 4VQQPSU-JCSBSZ

  4. 4VQQPSU-JCSBSZ w "DPMMFDUJPOPGMJCSBSJFTUPTVQQPSU"OESPJE BQQMJDBUJPOEFWFMPQNFOU w #BDLXBSEDPNQBUJCMFWFSTJPOPGUIF"1*T JOUSPEVDFEPOOFX"OESPJE4%,WFSTJPO w 6*DPNQPOFOUTUIBUBSFOPUJODMVEFEJOUIF "OESPJE'SBNFXPSL

    w 6UJMJUZDMBTTFT
  5. None
  6. implementation "com.android.support:support-v4:$supportLibVersion" implementation "com.android.support:appcompat-v7:$supportLibVersion" implementation "com.android.support:design:$supportLibVersion"

  7. *TTVFTXJUI4VQQPSU -JCSBSZ

  8. "SUJGBDU/BNFT

  9. None
  10. None
  11. .BEFUPXPSLGPSUIPTF"1*-FWFMT

  12. None
  13. None
  14. 7FSTJPOJOH

  15. implementation "com.android.support:support-v4:$supportLibVersion" implementation "com.android.support:appcompat-v7:$supportLibVersion" implementation "com.android.support:design:$supportLibVersion"

  16. implementation “com.android.support:support-v4:28.0.0” implementation "com.android.support:appcompat-v7:28.0.0" implementation "com.android.support:design:28.0.0"

  17. implementation “com.android.support:support-v4:28.0.0” implementation "com.android.support:appcompat-v7:28.0.0" implementation "com.android.support:design:28.0.0"

  18. implementation “com.android.support:support-v4:28.0.0” implementation "com.android.support:appcompat-v7:28.0.0" implementation "com.android.support:design:28.0.0" .BKPSWFSTJPOHPFTVQPOFWFSZ(PPHMF*0 "MMPGUIFMJCSBSJFTBSFFYQFDUFEUPTQFDJGZFYBDUMZUIFTBNFWFSTJPO .JOPSWFSTJPOCVNQNBZJODMVEFCSFBLJOHDIBOHFT

  19. None
  20. "OESPJE9

  21. "OESPJE9 w "OOPVODFEJO(PPHMF*0 w l"OESPJE&YUFOTJPO-JCSBSJFTz w 3FQMBDFNFOU 3FGBDUPSJOH PGUIFl4VQQPSU-JCSBSZz

  22. "OESPJE9 w 3FTFUGSPN w 4FNBOUJD7FSTJPOJOH w .BKPSWFSTJPOCJOBSZDPNQBUJCJMJUZ w .JOPSGFBUVSFSFMFBTF w

    #VHpY w 1FSBSUJGBDUSFMFBTFBOEWFSTJPOJOH
  23. .JHSBUFUP"OESPJE9

  24. com.android.support:appcompat-v7 -> androidx.appcompat:appcompat com.android.support:design -> com.google.android.material:material

  25. None
  26. None
  27. None
  28. None
  29. None
  30. None
  31. +FUJpFS

  32. w SEQBSUZMJCSBSJFTNBZDPOUBJOTVQQPSUMJCSBSZ EFQFOEFODJFT w +FUJpFSDIFDLTMJCSBSJFT`""3+"3pMFTBOENJHSBUFT UIFNUP"OESPJE9 +FUJpFS

  33. None
  34. IUUQTEFWFMPQFSBOESPJEDPNKFUQBDLBOESPJEYNJHSBUF

  35. "OESPJE+FUQBDLXIBUTOFXJO"OESPJE4VQQPSU-JCSBSZ:PV5VCF
 IUUQTXXXZPVUVCFDPNXBUDI WKE,6NU(PHX .JHSBUJOHUP"OESPJE9
 IUUQTEFWFMPQFSBOESPJEDPNKFUQBDLBOESPJEYNJHSBUF -JOLT

  36. %JWFJOUP"OESPJE9 4IPIFJ,BXBOP !TIBVOLBXBOP pO