androidx
Zhanty 5 years ago
parent bdd29f115a
commit 647f35132a
  1. 2
      config/repository.gradle
  2. 2
      lib_base/src/main/java/com/android/base/adapter/recycler/MultiTypeAdapter.java

@ -234,7 +234,7 @@ static Repository innerNewRepository() {
stethoOkhttp3 : 'com.facebook.stetho:stetho-okhttp3:1.4.2',
//https://github.com/eleme/UETool ui调试工具
ueTool : 'me.ele:uetool:1.0.15',
ueTool : 'me.ele:uetool:1.2.1',
//https://github.com/Kyson/AndroidGodEye
godeyeCore : 'cn.hikyson.godeye:godeye-core:2.1.1',

@ -100,7 +100,7 @@ public class MultiTypeAdapter extends me.drakeet.multitype.MultiTypeAdapter impl
}
@Override
public void setDataSource(List<Object> newDataSource, boolean notifyDataSetChanged) {
public void setDataSource(@NonNull List<Object> newDataSource, boolean notifyDataSetChanged) {
super.setItems(newDataSource);
mRecyclerDataManager.setDataSource(newDataSource, notifyDataSetChanged);
}

Loading…
Cancel
Save