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'
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'