瀏覽代碼

optimize code

张攀 5 年之前
父節點
當前提交
f1fae8b6ea
共有 3 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      README.md
  2. 3 3
      app/build.gradle
  3. 1 1
      bannerview/src/main/java/com/zhpan/bannerview/indicator/DashIndicatorView.java

+ 1 - 1
README.md

@@ -204,7 +204,7 @@ public class NetViewHolder implements ViewHolder<BannerData> {
 **(1)自定义View并继承BaseIndicatorView**
 
 ```
-public class DashIndicatorView extends BaseIndicatorView implements IIndicator {
+public class DashIndicatorView extends BaseIndicatorView {
     private Paint mPaint;
     private float sliderHeight;
 

+ 3 - 3
app/build.gradle

@@ -45,10 +45,10 @@ dependencies {
     implementation 'androidx.appcompat:appcompat:1.0.2'
     implementation 'androidx.recyclerview:recyclerview:1.0.0'
     testImplementation 'junit:junit:4.12'
-    implementation 'com.github.bumptech.glide:glide:4.0.0'
+    implementation 'com.github.bumptech.glide:glide:4.8.0'
     implementation 'com.github.chrisbanes:PhotoView:2.1.0'
-//    implementation 'com.zhpan.library:bannerview:2.1.1'
-    implementation project(path: ':bannerview')
+    implementation 'com.zhpan.library:bannerview:2.3.0'
+//    implementation project(path: ':bannerview')
     implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0'
     implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0'
     debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0-beta-2'

+ 1 - 1
bannerview/src/main/java/com/zhpan/bannerview/indicator/DashIndicatorView.java

@@ -8,7 +8,7 @@ import android.util.AttributeSet;
 /**
  * Created by zhpan on 2017/12/6.
  */
-public class DashIndicatorView extends BaseIndicatorView implements IIndicator {
+public class DashIndicatorView extends BaseIndicatorView {
     private Paint mPaint;
     private float sliderHeight;