Jetpack is a collection of Android software components to make it easier for you to develop great Android apps. It was announced at Google I/O 2018. Jetpack builds on the foundations laid out by Support Library and Architecture Component.

AndroidX

AndroidX is Jetpack’s evolution of the original Android Support Library. It is the open-source project that the Android team uses to develop, test, package, version and release libraries within Jetpack.

According to Android Support Library Page

 Note: With the release of Android 9.0 (API level 28) there is a new version of the support library called AndroidX which is part of Jetpack. The AndroidX library contains the existing support library and also includes the latest Jetpack   components.

 You can continue to use the support library. Historical artifacts (those versioned 27 and earlier, and packaged as android.support.*) will remain available on Google Maven. However, all new library development will occur in the   AndroidX library.

 We recommend using the AndroidX libraries in all new projects. You should also consider migrating existing projects to AndroidX as well.

Like the Support Library, AndroidX ships separately from the Android OS and provides backwards-compatibility across Android releases. AndroidX fully replaces the Support Library by providing feature parity and new libraries. In addition AndroidX includes the following features:

So its time to use AndroidX or get stuck with 28.0.0 Support Library.

Android Architecture Component

A collection of libraries that help you design robust, testable, and maintainable apps. Start with classes for managing your UI component lifecycle and handling data persistence.

Architecture Component 1.0 was announced back in Nov 2017 (Developers Blog). Then after announcing Jetpack at Google I/O 2018, Architecture Component is now considered as a part of Jetpack.

You can find sample projects on googlesamples/android-architecture-components GitHub repo

Migrate to AndroidX

According to above link –

 With Android Studio 3.2 and higher, you can migrate an existing project to use AndroidX by selecting Refactor > Migrate to AndroidX from the menu bar.

But in reality the tool is broken and hardly maps Support Library packages to AndroidX. You still need to yourself replace the packages name.

Do you have any product idea or business need?

How TO MAKE YOUR APP WORK OFFLINE

HOW TO MAKE YOUR APP WORK OFFLINE

Offline mobile app development is critical for users to sync their data properly, when offline. Here, we help you learn the process from implementation to data synchroniz

Omnivore POS integration - Ensuring Agility To Your Restaurant Businesses

Omnivore POS integration - Ensuring Agility To Your Restaurant Businesses

Omnivore software offers a point-of-sales integration API making the restaurant system agile, more customer engaging and adaptive to fast changing business environments.

Unit Testing using Mockk.io

Unit Testing using mockK.io in Kotlin

Learn about unit testing using mockk.io in Kotlin.