From 647f35132a69a2f5666c58d20d39cf2497b15ba9 Mon Sep 17 00:00:00 2001 From: Zhanty Date: Mon, 5 Aug 2019 21:03:32 +0800 Subject: [PATCH] optimize --- config/repository.gradle | 2 +- .../com/android/base/adapter/recycler/MultiTypeAdapter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/repository.gradle b/config/repository.gradle index e2eb71c..57b7e11 100644 --- a/config/repository.gradle +++ b/config/repository.gradle @@ -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', diff --git a/lib_base/src/main/java/com/android/base/adapter/recycler/MultiTypeAdapter.java b/lib_base/src/main/java/com/android/base/adapter/recycler/MultiTypeAdapter.java index cc4f88e..0ee935b 100644 --- a/lib_base/src/main/java/com/android/base/adapter/recycler/MultiTypeAdapter.java +++ b/lib_base/src/main/java/com/android/base/adapter/recycler/MultiTypeAdapter.java @@ -100,7 +100,7 @@ public class MultiTypeAdapter extends me.drakeet.multitype.MultiTypeAdapter impl } @Override - public void setDataSource(List newDataSource, boolean notifyDataSetChanged) { + public void setDataSource(@NonNull List newDataSource, boolean notifyDataSetChanged) { super.setItems(newDataSource); mRecyclerDataManager.setDataSource(newDataSource, notifyDataSetChanged); }