Android 未解析的引用合并适配器

Android 未解析的引用合并适配器,android,android-mergeadapter,Android,Android Mergeadapter,我在代码中使用了MergeAdapter。在我将我的RecyclerView版本更新为1.2.0-alpha04之前,一切都很顺利。现在我的代码显示未解析的引用MergeAdapter implementation "androidx.recyclerview:recyclerview:1.2.0-alpha04" MergeAdapter已在1.2.0-alpha04版本中重命名为ConcatAdapter,因此请重构代码并将MergeAdapter更改为ConcatAd

我在代码中使用了
MergeAdapter
。在我将我的
RecyclerView
版本更新为
1.2.0-alpha04
之前,一切都很顺利。现在我的代码显示未解析的引用
MergeAdapter

implementation "androidx.recyclerview:recyclerview:1.2.0-alpha04"

MergeAdapter已在
1.2.0-alpha04
版本中重命名为ConcatAdapter,因此请重构代码并将
MergeAdapter
更改为
ConcatAdapter

implementation "androidx.recyclerview:recyclerview:1.2.0-alpha04"
你可以看到这里的讨论


MergeAdapter已重命名为ConcatAdapter,以避免与不同的数据合并行为混淆