依赖

本文档详细列举了Android应用开发中常用的依赖库,包括图片加载、网络请求、数据库操作等多个方面,为开发者提供了全面的技术选型指南。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

权限: 判断网络–联网–读--写



备用接口
public static final String ZHANSHI_URL = “http://www.zhaoapi.cn/product/getCarts?uid=71”;

			==依赖==

//glide图片加载框架依赖
implementation ‘com.github.bumptech.glide:glide:4.8.0’
//gson解析
implementation ‘com.google.code.gson:gson:2.8.5’
//xlistview依赖
implementation project(’:xlistviewlibrary’)
//image-loader-name
implementation ‘com.nostra13.universalimageloader:universal-image-loader:1.9.5’
//tablayout依赖
implementation ‘com.android.support:design:28+’
//pull-to-refresh依赖
implementation ‘com.github.userswlwork:pull-to-refresh:1.0.0’
//banner依赖
implementation’com.youth.banner:banner:1.4.9’
//频道管理
implementation ‘com.github.andyoom:draggrid:v1.0.1’
//频道管理(project里)
maven {url “https://jitpack.io”}
//Design包(瀑布流–悬浮球)
implementation ‘com.android.support:design:28.+’
//okgo依赖
implementation ‘com.lzy.net:okgo:3.0.4’
//拦截器依赖
implementation ‘com.squareup.okhttp3:logging-interceptor:3.3.0’
//卡片布局的依赖
implementation ‘com.android.support:cardview-v7:28.0.0’
//OKHttp:网络请求框架
implementation “com.squareup.okhttp3:okhttp:3.12.0”
//Brvah:RecyclerView–Adapter快速开发框架
implementation ‘com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30’
//recyclerview依赖
implementation ‘com.android.support:recyclerview-v7:28.0.0’
//SmartRefreshLayout —recyclerview的上下拉
implementation ‘com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-19’
implementation ‘com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-19’
//流式布局的依赖(搜索历史)
implementation ‘com.hyman:flowlayout-lib:1.1.2’
//魅族banner
implementation ‘com.github.pinguo-zhouwei:MZBannerView:v2.0.2’
//Xbanner
implementation ‘com.github.xiaohaibin:XBanner:1.6.1’
//Fresco图片加载框架
implementation ‘com.facebook.fresco:fresco:1.12.1’
xmlns:fresco=“http://schemas.android.com/apk/res-auto”(自定义布局中)
//EventBus通信
implementation ‘org.greenrobot:eventbus:3.1.1’
//Butterknife进行布局绑定(黄油刀)
implementation ‘com.jakewharton:butterknife:8.8.1’
annotationProcessor ‘com.jakewharton:butterknife-compiler:8.8.1’
// Retrofit库
implementation ‘com.squareup.retrofit2:retrofit:2.5.0’
implementation ‘com.squareup.retrofit2:adapter-rxjava2:2.3.0’
implementation ‘com.squareup.retrofit2:converter-gson:2.5.0’
//GreenDao数据库
implementation ‘org.greenrobot:greendao:3.2.2’
implementation ‘org.greenrobot:greendao-generator:3.2.2’
//支持rxjava
implementation ‘io.reactivex.rxjava2:rxjava:2.2.6’
//Rxandroid
implementation ‘io.reactivex.rxjava2:rxandroid:2.0.2’
//XEdittext
implementation ‘com.xw.repo:xedittext:2.2.4@aar’
//Popwindow
compile ‘com.github.pinguo-zhouwei:CustomPopwindow:2.1.1’

allprojects {
repositories {
maven { url ‘https://jitpack.io’ }
}
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值