常用依赖

TabLayout
implementation 'com.android.support:design:28.0.0'//tablayout横着写也就是普通的

implementation 'q.rorbin:VerticalTabLayout:1.2.5'//tablayout竖着写的

implementation 'com.flyco.tablayout:FlycoTabLayout_Lib:2.0.2@aar'//一个可以实现带图片的多功能tablayout

Okhttp
implementation "com.squareup.okhttp3:okhttp:3.11.0"//网络请求Okhttp
implementation "com.squareup.okhttp3:logging-interceptor:3.11.0"

Retrofit
//网络请求Retrofit与所用Gson
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'

Rxjava:三个都需要 配合上边的Retrofit使用更佳
//Rxjava
implementation 'io.reactivex.rxjava2:rxjava:2.2.6'
implementation 'io.reactivex:rxandroid:1.1.0'
implementation 'com.squareup.retrofit2:adapter-rxjava:2.4.0'

Gson
implementation 'com.google.code.gson:gson:2.8.1'//Gson解析

RecyclerView
//现在studio已经自带了该功能,可以在xml的Design界面点击下载,然后就自动写好了

implementation 'androidx.recyclerview:recyclerview:1.0.0'

Glide
implementation 'com.github.bumptech.glide:glide:4.8.0'//Glide解析图片
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'

轮播图:感觉banner更方便
implementation 'com.jude:rollviewpager:1.4.5'//viewpager轮播图

implementation 'com.youth.banner:banner:1.4.10'//banner轮播图

ORM数据库:
implementation 'com.j256.ormlite:ormlite-android:5.0'//ORM数据库

GreenDao 数据库
implementation 'org.greenrobot:greendao:3.2.2'//GreenDao数据库

支持无限循环的广告栏控件
implementation 'com.recker.flybanner:flybanner:1.3'

photoView图片放大缩小
implementation 'com.github.chrisbanes.photoview:library:+' //photoView图片放大缩小

implementation 'com.bm.photoview:library:1.4.1'//圆角矩形 没试过

注解框架的依赖
//注解框架
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

下拉刷新依赖+下拉刷新使用了特殊的Header
//下拉刷新依赖
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-12'

//下拉刷新使用了特殊的Header
implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-12'

专业处理方法过多时报错的问题
//专业处理方法过多时报错的问题
implementation 'com.android.support:multidex:1.0.3'

圆角图片
//圆角图片
implementation 'com.github.SheHuan:NiceImageView:1.0.5'

选择图片的依赖(相册相机在一起)
//选择图片
implementation 'com.github.lovetuzitong:MultiImageSelector:1.2'

//照片 图片选择框架
implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.2.3'

安卓权限
//安卓权限
implementation 'pub.devrel:easypermissions:1.3.0'

一种低成本的安卓屏幕适应解决方案(今日头条屏幕适配方案终极版)。
//一种低成本的安卓屏幕适应解决方案(今日头条屏幕适配方案终极版,一个极低成本的android屏幕适配方案)。
implementation 'me.jessyan:autosize:1.1.2'

luban图片压缩
//luban图片压缩
implementation 'top.zibin:Luban:1.1.3'

h5加载图片太大的问题
//h5加载图片太大的问题
implementation 'org.jsoup:jsoup:1.10.1'

bugly
//bugly 其中latest.release指代最新Bugly SDK版本号,也可以指定明确的版本号,例如2.2.0
implementation 'com.tencent.bugly:crashreport:latest.release'
implementation 'com.tencent.bugly:nativecrashreport:latest.release'

圆角进度条
//圆角进度条
implementation 'com.akexorcist:RoundCornerProgressBar:2.0.3'

日历选择器
//日历选择器
implementation 'com.joybar.calendar:librarycalendar:1.0.5'

时间选择器
//时间选择器
implementation 'com.github.codbking:PickTime:v1.0.1'

implementation 'com.contrarywind:Android-PickerView:4.1.8'

EventBus
//EventBus
implementation 'org.greenrobot:eventbus:3.1.1'

ArcGis地图
//地图
implementation 'com.esri.arcgisruntime:arcgis-android:100.6.0'

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容