Most likely, you are attempting to use these two dependencies:
implementation "android.arch.paging:runtime:1.0.0-alpha5"
implementation "com.android.support:recyclerview-v7:27.1.0"
The conflicting class (android.support.v7.recyclerview.extensions.ListAdapter
) moved to recyclerview-v7
from the Paging runtime
... but only with 1.0.0-alpha6
or higher of the Paging runtime
. With 1.0.0-alpha5
, coupled with 27.1.0
of the Support Library, you get the same class in both places.
Instead, migrate to:
implementation "android.arch.paging:runtime:1.0.0-alpha6"
implementation "com.android.support:recyclerview-v7:27.1.0"
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…