I am reading about a room library of Android. I see they changed package android
to androidx
. I did not understand that. Can someone explain, please?
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
Even this is available with the android
package also.
implementation "android.arch.persistence.room:runtime:$room_version"
annotationProcessor "android.arch.persistence.room:compiler:$room_version"
- What was in need of packaging new support libraries in
androidx
instead ofandroid
? - Use case and affect factors in existing projects.