Butterknife绑定控件
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
Picasso加载图片
implementation 'com.squareup.picasso:picasso:2.71828'
Glide加载图片
implementation 'com.github.bumptech.glide:glide:4.9.0'
fresco加载图片(必须要初始化)
implementation 'com.facebook.fresco:fresco:1.11.0'
fresco加载动图
implementation 'com.facebook.fresco:animated-gif:1.10.0'
recyclerview展示列表
implementation 'com.android.support:recyclerview-v7:28.0.0'
okhttp3网络请求数据(必须要初始化)
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
banner轮播
implementation 'com.youth.banner:banner:1.4.9'
pulltorefresh刷新加载(minSdkVersion最低版本为16才能用)
implementation 'com.jwenfeng.pulltorefresh:library:1.0.3'
eventbus传值
implementation 'org.greenrobot:eventbus:3.1.1'
retrofit网络加载(配合okhttp使用)
implementation 'com.squareup.retrofit2:retrofit:2.1.0'
implementation 'io.reactivex:rxandroid:1.2.0'
数据解析器
implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
网络请求适配器
implementation 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
Smartrefresh刷新
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-14'
implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-14'
侧滑条目删除(是一个recyclerview)
implementation 'com.yanzhenjie:recyclerview-swipe:1.1.4'
BottomTabBar(点击切换fragment)
implementation 'com.hjm:BottomTabBar:1.1.2'
Vlayout(一种高效的UI控件 实现类似淘宝首页这种复杂的布局)
implementation ('com.alibaba.android:vlayout:1.2.8@aar') {
transitive = true
}
//下面的代码,根据实际情况添加,如果项目中用到了下面的库,则需要根据项目依赖高版本库,否则就会使用vlayout中的低版本库
//RecyclerView【因为vlayout中的recyclerview版本低,所以需要重新依赖高版本,否则app中使用recyclerview的话会直接使用vlayout中的低版本recyclerview】
implementation "com.android.support:recyclerview-v7:28.0.0"
//v4
implementation 'com.android.support:support-v4:28.0.0'
仿课程格子或超级课程表的表格
repositories {
maven {
url "https://jitpack.io"
}
}
implementation 'com.github.RmondJone:LockTableView:1.1.2'
把新建项目时自带的一些依赖注释,否则会依赖冲突
利用Java代码通过POI操作Excel表格(读取或写入数据)
implementation 'org.apache.poi:poi:3.17'
implementation 'org.apache.poi:poi-ooxml:3.17'
implementation 'org.apache.xmlbeans:xmlbeans:3.1.0'