lsjwzh / RecyclerViewPager

Deprecated
Apache License 2.0
3.53k stars 667 forks source link

AndroidX compatability #217

Open Huulivoide opened 6 years ago

Huulivoide commented 6 years ago

Starting from API level 28, the old support libraries wont be updated anymore and instead one is expected to use the new AndroidX packages. To ensure old binary deps don't break, a new tool Jetify is used to mange the old support library references in them to the new scheme.

Sadly this does not work on RecyclerViewPager.

Problem: android.support.v7.widget.ViewHolderDelegate gets transformed into androidx.appcompat.widget.ViewHolderDelegate, which is a wrong package. RecyclerView stuff is now located in androidx.recyclerview.widget package.

Solution:

darekxan commented 5 years ago

https://github.com/lsjwzh/RecyclerViewPager/pull/218