zoukankan      html  css  js  c++  java
  • Support依赖库大全

    A*************

    A*************
    B*************
    //Banner轮播
    implementation 'com.youth.banner:banner:1.1.5'
    //ButterKnife注解
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
    implementation 'com.jakewharton:butterknife:8.8.1'
    defaultConfig {
    javaCompileOptions {
    annotationProcessorOptions {
    includeCompileClasspath true
    }
    }
    }
    dependencies {
    classpath 'com.android.tools.build:gradle:2.3.3'
    classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1' //添加这一行
    }
    B*************
    C*************
    //CardView
    implementation 'com.android.support:cardview-v7:28.0.0'
    //CircleImageview
    implementation 'de.hdodenhof:circleimageview:2.2.0'
    //Card.io银行卡号识别
    implementation 'io.card:android-sdk:5.5.1'
    C*************
    D*************
    //Design
    implementation 'com.android.support:design:28.0.0'
    //Dargger2
    implementation 'com.google.dagger:dagger:2.0'
    annotationProcessor 'com.google.dagger:dagger-compiler:2.0'
    compileOnly 'javax.annotation:javax.annotation-api:1.2'
    D***********
    E***********
    //EventBus事件总线-----------------------------------------------------------------------------------------
    implementation 'org.greenrobot:eventbus:3.1.1'
    implementation 'org.greenrobot:eventbus-annotation-processor:3.1.1'
    E*************
    F************
    //FastJson
    implementation 'com.alibaba:fastjson:1.1.70.android'
    //ExplosionField爆炸成碎片
    implementation 'tyrantgit:explosionfield:1.0.1'
    F************
    G************
    //Glide图片加载
    implementation 'com.github.bumptech.glide:glide:4.8.0'
    //Picasso图片加载库
    implementation 'com.squareup.picasso:picasso:2.3.2'
    //Fresco图片加载库
    implementation 'com.facebook.fresco:fresco:1.3.0'
    implementation 'com.facebook.fresco:animated-gif:1.3.0'
    implementation 'com.facebook.fresco:animated-webp:1.3.0'
    implementation 'com.facebook.fresco:webpsupport:1.3.0'
    //Gson
    implementation 'com.google.code.gson:gson:2.8.1'
    //GoodView点赞
    implementation 'com.wx.goodview:goodview:1.0.0'
    G************
    H************
    H************
    I************

    I***********
    J***********

    J***********
    K***********

    K***********
    L***********
    //Litepal数据库
    implementation 'org.litepal.android:core:2.0.0'
    //Logger日子打印
    implementation 'com.orhanobut:logger:1.15'
    L************
    M***********
    //MaterialRefreshLayout刷新
    implementation 'com.cjj.materialrefreshlayout:library:1.3.0'
    //MPAndroidChart图表
    implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
    M***********
    N***********
    //属性动画的兼容包
    implementation 'com.nineoldandroids:library:2.4.0'
    N************
    O************
    //okHttp请求
    implementation 'com.squareup.okhttp3:okhttp:3.11.0'
    implementation 'com.squareup.okhttp:okhttp-urlconnection:2.7.5'
    implementation 'com.squareup.okhttp:okhttp:2.7.5'
    //日志拦截器
    implementation 'com.squareup.okhttp3:logging-interceptor:3.5.0'
    O************
    P***********
    //Palette调色板,抽取图片颜色
    implementation 'com.android.support:palette-v7:28.0.0'
    P***********
    Q***********

    Q***********
    R***********
    //RecyclerView
    implementation 'com.android.support:recyclerview-v7:28.0.0'
    //RxJava-----------------------------------------------------------------
    implementation "io.reactivex.rxjava2:rxjava:2.2.3"
    implementation "io.reactivex.rxjava2:rxandroid:2.1.0"
    // RxLifecycle基础库-----------------------------------------------------------------
    implementation 'com.trello.rxlifecycle2:rxlifecycle:2.1.0'
    // Android使用的库,里面使用了Android的生命周期方法
    // 内部引用了基础库,如果使用此库则无需再引用基础库
    implementation 'com.trello.rxlifecycle2:rxlifecycle-android:2.1.0'
    // Android组件库,里面定义了例如RxAppCompatActivity、RxFragment之类的Android组件
    // 内部引用了基础库和Android库,如果使用此库则无需再重复引用
    implementation 'com.trello.rxlifecycle2:rxlifecycle-components:2.1.0'
    // Android使用的库,继承NaviActivity使用
    implementation 'com.trello.rxlifecycle2:rxlifecycle-navi:2.1.0'
    // Android使用的库,继承LifecycleActivity使用
    // 需要引入Google的仓库支持,用法和rxlifecycle-navi类似
    implementation 'com.trello.rxlifecycle2:rxlifecycle-android-lifecycle:2.1.0'
    // Google的仓库支持
    allprojects {
    repositories {
    jcenter()
    maven { url 'https://dl.google.com/dl/android/maven2/' }
    }
    }
    // 支持Kotlin语法的RxLifecycle基础库
    implementation 'com.trello.rxlifecycle2:rxlifecycle-kotlin:2.1.0'
    // 支持Kotlin语法的Android库
    implementation 'com.trello.rxlifecycle2:rxlifecycle-android-lifecycle-kotlin:2.1.0'
    //RxPermission权限请求-----------------------------------------------------------------
    implementation 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.4@aar'
    //Retrofit-----------------------------------------------------------------
    //Retrofit网络请求框架注解
    implementation 'com.squareup.retrofit2:retrofit:2.4.0'
    //Gson转换器
    implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
    //RxJava适配器
    implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
    implementation 'com.squareup.retrofit2:converter-scalars:2.1.0'
    //RxBinding-----------------------------------------------------------------
    //基础库可以不添加
    implementation 'com.jakewharton.rxbinding2:rxbinding:2.2.0'
    //包含基础库
    implementation 'com.jakewharton.rxbinding2:rxbinding-design:2.2.0'
    //包含基础库
    implementation 'com.jakewharton.rxbinding2:rxbinding-recyclerview-v7:2.2.0'
    //V4包含基础组件SlidingPaneLayout,SwipeRefreshLayout,ViewPager,DrawerLayout,NestedScrollView
    implementation 'com.jakewharton.rxbinding2:rxbinding-support-v4:2.2.0'
    //V7包含基础库,同时提供V7版本兼容
    implementation 'com.jakewharton.rxbinding2:rxbinding-appcompat-v7:2.2.0'
    //电视相关
    implementation 'com.jakewharton.rxbinding2:rxbinding-leanback-v17:2.2.0'
    每一个rxbinding2依赖库都以一个xxx-kotlin支持版本
    settings.gragle中include ':app', ':rxbinding'
    //RxRelay
    implementation 'com.jakewharton.rxrelay2:rxrelay:2.0.0'
    R*************
    S*************
    //Slider组件滑动
    implementation 'com.daimajia.slider:library:1.1.5'
    implementation 'com.daimajia.slider:library:1.1.5@aar'
    //support-v4
    implementation 'com.android.support:support-v4:28.0.0'
    //SmartRefreshLayout上拉加载下拉刷新
    implementation'com.scwang.smartrefresh:SmartRefreshLayout:1.0.4'
    S*************
    T*************
    //Timer日志
    implementation 'com.jakewharton.timber:timber:4.7.1'
    //TakePhoto图片选择
    implementation('liji.library.dev:takephotolib:1.0.2') {
    //指定需要剔除其依赖的库
    exclude group: 'com.android.support'
    }
    T**************
    U*************
    //UniversalImageLoader图片加载框架
    implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
    //UltraViewPager
    implementation ('com.alibaba.android:ultraviewpager:1.0.7.7@aar') {
    exclude group: 'com.android.support'
    }
    U*************
    V*************
    //Volley网络请求框架
    implementation 'com.mcxiaoke.volley:library:1.0.19'
    V***********
    W***********
    W***********
    X***********
    X***********
    Y**********

    Y***********
    Z***********

    Z**********
    //版本兼容
    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'
    }
    }
    }
    }

  • 相关阅读:
    sql查询
    PHP常用的设计模式
    PHP内存管理和垃圾回收机制
    记一次面试
    获取py文件函数名及动态调用
    正确解决 mysql 导出文件 分隔符 问题
    解决ValueError: cannot convert float NaN to integer
    Python ---接口返回值中文编码问题
    pandas python 读取大文件
    【neo4J】后台关闭后,前端还能打开视图
  • 原文地址:https://www.cnblogs.com/hyhy904/p/11498527.html
Copyright © 2011-2022 走看看