Ad

Is There Any Difference Between Androidx Paging And Android-arch Paging?

I have to set up pagination for my android project. But I'm a little bit confused since there are two different libraries with same class names AndroidArchitectureComponents and AndroidX.

and in the documentation too I didn't found differences, methods are also the same.

What is the key difference between both of them?

Ad

Answer

androidx is a new package structure rolled out by Google. Unlike the Support Library, AndroidX packages are separately maintained and updated. All new Support Library development will occur in the AndroidX library. So the androidx paging would contain new improvements and packaging structure would be different from the normal one.For using androidX packages you will have to migrate your project to androidX. Refer : [https://developer.android.com/jetpack/androidx/migrate]

Ad
source: stackoverflow.com
Ad