用到的依赖

xrecyclerview

implementation 'com.jcodecraeer:xrecyclerview:1.5.9'

 configurations.all {
        resolutionStrategy.eachDependency { DependencyResolveDetails details ->
            def requested = details.requested
            if (requested.group == 'com.android.support') {
                if (!requested.name.startsWith("multidex")) {
                    details.useVersion '28.0.0'//根据你的底下appcompat-v7版本
                }
            }
        }
    }

glide

implementation 'com.github.bumptech.glide:glide:4.8.0'

recyclerview

implementation 'com.android.support:recyclerview-v7:28.0.0'

okhttp

 implementation 'com.squareup.okhttp3:okhttp:3.11.0'
 implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'

1、implementation’com.recker.flybanner:flybanner:1.3’ 无限轮播flybanner

2、implementation ‘cn.bingoogolapple:bga-qrcode-zxing:1.3.4’ 二维码

3、implementation ‘com.tencent.bugly:crashreport:latest.release’ bugly

4、 implementation ‘com.github.bumptech.glide:glide:4.8.0’ glide图片框架

5、implementation ‘com.android.support:recyclerview-v7:28.0.0’ Recyclerview

6、 implementation ‘com.squareup.okhttp3:okhttp:3.11.0’
implementation ‘com.squareup.okhttp3:logging-interceptor:3.11.0’ OKHttp

7、configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == ‘com.android.support’) {
if (!requested.name.startsWith(“multidex”)) {
details.useVersion ‘28.0.0’
}
}
}
}

implementation ‘com.jcodecraeer:xrecyclerview:1.5.9’ XRecyclerview

// 一般依赖:
implementation 'com.facebook.fresco:fresco:1.11.0'

// 如果需要支持gif,再添加:
implementation ‘com.facebook.fresco:animated-gif:1.11.0’
implementation “com.facebook.fresco:imagepipeline-okhttp3:0.12.0+”

butterknife

	implementation 'com.jakewharton:butterknife:8.8.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

猜你喜欢

转载自blog.csdn.net/Hyy2162427252/article/details/85136471
今日推荐