轮播图依赖
implementation'com.youth.banner:banner:1.4.10'
Glide框架
implementation "com.github.bumptech.glide:glide:3.7.0"
RecyclerView 框架
implementation 'com.android.support:recyclerview-v7:27.1.1'
Glide框架和圆形图片设置配套框架
implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
XrecyclerView
implementation 'com.jcodecraeer:xrecyclerview:1.5.9'
卡片布局
implementation 'com.android.support:cardview-v7:27.1.1'
样式框架
implementation 'com.android.support:design:27.1.1'
ButterKnife框架
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } } //ButterKnife框架报错解决
EventBus
implementation 'org.greenrobot:eventbus:3.1.1'
okhttp3向下兼容版本
implementation 'com.squareup.okhttp3:okhttp:3.12.3'
滚动文字框架
implementation 'com.sunfusheng:marqueeview:1.3.3'
Retrofit框架
implementation 'com.squareup.retrofit2:converter-gson:2.6.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.0'
Retrofit And RxJava 框架
implementation 'io.reactivex.rxjava2:rxjava:2.2.10'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'com.squareup.retrofit2:converter-gson:2.6.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.0'
Gson解析框架
implementation 'com.google.code.gson:gson:2.2.4'
一个开源gif控件
compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.3'
SmartRefreshLayout刷新框架
compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.4'
compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.4'//没有使用
GreenDao依赖
buildscript {
repositories {
jcenter()
mavenCentral() // add repository
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin
}
}
apply plugin: 'com.android.application'
apply plugin: 'org.greenrobot.greendao' // apply plugin
dependencies {
implementation 'org.greenrobot:greendao:3.2.2' // add library
}
Jsoup 解析H5
implementation 'org.jsoup:jsoup:1.10.1'
搜索框
implementation "com.miguelcatalan:materialsearchview:1.4.0"
日历
implementation "com.github.prolificinteractive:material-calendarview:1.6.0"
粘性悬浮头
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
implementation 'com.android.support:design:27.1.1'
implementation 'com.github.qdxxxx:StickyHeaderDecoration:1.0.1'
竖向导航
implementation 'q.rorbin:VerticalTabLayout:1.2.5'
me.yokeyword.fragmentation库的使用
// 在App级别的gradle中引入Fragment依赖
api 'me.yokeyword:fragmentation:1.2.7'
api 'me.yokeyword:fragmentation-swipeback:1.2.7'
ExpandRecyclerView
implementation 'com.thoughtbot:expandablerecyclerview:1.0'
springindicator 水滴切换界面
implementation 'com.github.chenupt.android:springindicator:1.0.2@aar
Android js交互框架JsBridge
implementation 'com.github.lzyzsd:jsbridge:1.0.4'