What is AndroidX and Why It is Important to Migrate to AndroidX - XcelTec

Page 1

What is AndroidX and Why It is Important to Migrate to AndroidX

If you're unfamiliar with the phrase, AndroidX is a brand-new open-source initiative that Google is introducing to package libraries with Jetpack. In short, Google decided to start cleaning up their act and utilise a new approach along with new library names because the old method of managing libraries was becoming difficult.

AndroidX Overview The Android team leverages the new open-source project called AndroidX to create, test, and distribute libraries for Jetpack. A significant improvement over the original Android Support Library is AndroidX. Similar to the Support Library, AndroidX is developed separately from the Android OS and offers backward compatibility between different Android releases. By offering feature parity and additional libraries, AndroidX completely replaces the Support Library. Additionally, AndroidX has the following capabilities: All AndroidX packages are located in a single namespace that begins with the letters android x. The comparable AndroidX.* packages have been mapped to the Support Library packages. See the Package Refactoring page for a complete mapping of all the old classes and build objects to the new ones.


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.