需要的依赖

HttpClient的依赖:
compile 'com.loopj.android:android-async-http:1.4.9'

ImageLoader的依赖:
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.2'

TabLayout的依赖:
compile 'com.android.support:design:25.0.0'

微信第三方SDK的依赖:
compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'

xUtils3依赖:
compile 'org.xutils:xutils:3.3.36'

OKHttp3依赖:
compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile 'com.squareup.okio:okio:1.7.0'

OkHttp3拦截器的依赖:
compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'

OKHttp2.x依赖:
compile 'com.squareup.okhttp:okhttp:2.7.5'
compile 'com.squareup.okio:okio:1.7.0'

RecyclerView依赖:
compile 'com.android.support:recyclerview-v7:26.+'

retrofit2的依赖:
compile 'com.squareup.retrofit2:retrofit:2.0.2'

Picasse的依赖:
compile 'com.squareup.picasso:picasso:2.5.1'

//使用方式
Picasso.with(上下文).load(图片地址).placeholder(默认图片).into(控件);

XRecyclerView的依赖:
compile 'com.jcodecraeer:xrecyclerview:1.2.6'

OkHttp3拦截器的依赖:

Compile'com.squareup.okhttp3:logging-interceptor:3.4.1'


//Okhttp、retrofit2、fresco的依赖

implementation 'com.squareup.okhttp3:logging-interceptor:3.4.1'

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

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

implementation 'com.facebook.fresco:fresco:0.11.0'

implementation 'io.reactivex.rxjava2:rxjava:2.1.6'

implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'

implementation 'com.squareup.okhttp3:okhttp:3.9.0'

implementation 'com.squareup.retrofit2:converter-gson:2.3.0'

implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'

Greendao的依赖:

最大的build里要填:

buildscript {



repositories {

google()

jcenter()

mavenCentral():要填的greendao

}

dependencies {

classpath 'com.android.tools.build:gradle:3.0.0'

classpath greendao的用法:'org.greenrobot:greendao-gradle-plugin:3.2.1'

}

小build的要填的:

//greendao

apply plugin: 'org.greenrobot.greendao'

implementation 'org.greenrobot:greendao:3.2.0'

//butterknife
implementation 'com.jakewharton:butterknife:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'

//CoordinatorLayout布局的使用方式
implementation 'com.android.support:design:26.1.0'
implementation 'de.hdodenhof:circleimageview:1.3.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.jakewharton:butterknife:8.5.1'

annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'

//xbanner
implementation 'com.xhb:xbanner:1.0.0'
implementation 'com.github.bumptech.glide:glide:3.6.1'
implementation 'com.xhb:xbanner:1.2.2'
implementation 'com.nineoldandroids:library:2.4.0'
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值