Android-github项目

AndroidUtilCode https://github.com/Blankj/AndroidUtilCode

maven { url “https://jitpack.io” }

//在项目的build.gradle中加入
allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }
}

Retrofit2.0 + OkHttp3 + RxJava(RxAndroid) 网络请求

compile 'com.squareup.retrofit2:retrofit:2.2.0'
compile 'com.squareup.retrofit2:converter-gson:2.2.0'
compile 'com.squareup.retrofit2:adapter-rxjava:2.2.0'
compile 'io.reactivex:rxjava:1.0.14'
compile 'io.reactivex:rxandroid:1.0.1'

ARouter 路由跳转

defaultConfig {
	...
	javaCompileOptions {
    	annotationProcessorOptions {
    		arguments = [ moduleName : project.getName() ]
    	}
	}
}
compile 'com.alibaba:arouter-api:1.2.4'
annotationProcessor 'com.alibaba:arouter-compiler:1.1.4'

ButterKnife 组件绑定

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

BaseRecyclerViewAdapterHelper 适配器

compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.22'

Dialog

compile ('com.afollestad.material-dialogs:core:0.9.4.2') {
    exclude group: 'com.android.support'
}

Log

compile 'com.orhanobut:logger:1.15'

gson

compile 'com.google.code.gson:gson:2.8.2'

EventBus

compile 'org.greenrobot:eventbus:3.1.1'

RxPermission

compile 'com.tbruyelle.rxpermissions:rxpermissions:0.9.4@aar'

dagger2 依赖注入

annotationProcessor 'com.google.dagger:dagger-compiler:2.11'
compile 'com.google.dagger:dagger:2.11'
compile 'javax.annotation:javax.annotation-api:1.2'

Glide

compile 'com.github.bumptech.glide:glide:3.7.0'

design

compile 'com.android.support:recyclerview-v7:26.1.0'
compile 'com.android.support:design:26.1.0'
compile 'com.android.support:cardview-v7:26.1.0'

badgeView 右上角未读消息

compile 'q.rorbin:badgeview:1.1.3'
compile 'com.github.lzyzsd:jsbridge:1.0.4'

HelloCharts 图表

compile 'com.github.lecho:hellocharts-android:v1.5.8'

Room 数据库

compile "android.arch.persistence.room:runtime:1.0.0"
annotationProcessor "android.arch.persistence.room:compiler:1.0.0"
compile "android.arch.persistence.room:rxjava2:1.0.0"

SwipeToLoadLayout 刷新框架

compile 'com.github.Aspsine:SwipeToLoadLayout:1.0.4'

Rebound 弹簧动画框架

compile 'com.facebook.rebound:rebound:0.3.8'
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客
应支付0元
点击重新获取
扫码支付

支付成功即可阅读