What is AndroidX and Why It is Important to Migrate to AndroidX
If you haven’t heard the term yet, AndroidX is the new open-source project being rolled out by Google to package libraries with Jetpack. Basically, the old way of managing libraries was becoming complicated and so Google decided to start cleaning up their act and use a new system, along with new library terms.
AndroidX Overview
AndroidX is a major enhancement to the original Android Support Library. Like the Support Library, AndroidX crafts independently from the Android OS and delivers backward-compatibility across Android releases. AndroidX fully replaces the Support Library by providing feature equivalence and new libraries. In addition, AndroidX includes the following features:
All packages in AndroidX live in a consistent namespace starting with the string android x. The Support Library packages have been mapped into the equivalent AndroidX.* packages. For a full mapping of all the old classes and build objects to the new ones, see the Package Refactoring page.
Unlike the Support Library, AndroidX packages are independently maintained and updated. The AndroidX packages use strict Semantic Versioning starting with version 1.0.0. You can update AndroidX libraries in your project independently.
Comments
Post a Comment
Your Comments Will Be Published Soon.