0

RecyclerView 27.1.0 and android.arch.paging 1.0.0-alpha4-1 both contains android/support/v7/recyclerview/extensions/ListAdapter.class

Does any body know how to exclude ListAdapter.class from paging component?

ianhanniballake
  • 191,609
  • 30
  • 470
  • 443
leon
  • 550
  • 6
  • 14

2 Answers2

2

Per the Architecture Components Release Notes, you must upgrade to Paging 1.0.0-alpha6 to use Support Library 27.1.0:

apps using Paging must upgrade to Alpha 6, and Support Library 27.1.0 at the same time

ianhanniballake
  • 191,609
  • 30
  • 470
  • 443
  • thank you very much, and I will try to upgrade paging to 1.0.0-alpha6. Util now, I just specified "force = true" to let gradle use Support Library 26.0.3, and solve my problem. – leon Mar 16 '18 at 18:19
0

I think you can do it like this

implementation("your dependency"){
    exclude group:'com.android.support' module:'recyclerview-v7'
}
takahirom
  • 1,934
  • 2
  • 12
  • 21