记录一下 项目常用依赖
1 kotlin 携程
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2'
2 一个好用的仿ios风格的滚轮选择控件 还可以自己定制 用wheelview
implementation 'com.contrarywind:Android-PickerView:4.1.9'
3 一款封装好的视频播放器 支持替换播放内核
implementation('com.shuyu:gsyVideoPlayer-java:8.1.2')
4 eventBus 不多说
implementation 'org.greenrobot:eventbus:3.2.0'
5bugly 错误统计
//bugly implementation 'com.tencent.bugly:crashreport:latest.release' implementation 'com.tencent.bugly:nativecrashreport:latest.release'
6 一个好用的侧滑库
implementation 'com.billy.android:smart-swipe:1.1.2'
7 一个好用的recycleview adapter 封装库 支持头尾 上拉 下拉加载 空页面 多布局
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
8图片加载库
implementation 'com.github.bumptech.glide:glide:4.12.0'
9上拉刷新下拉加载库
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' //核心必须依赖 implementation 'com.scwang.smart:refresh-header-classics:2.0.3' //经典刷新头 implementation 'com.scwang.smart:refresh-footer-classics:2.0.3' //经典加载
10 状态栏管理库
compile 'com.jaeger.statusbarutil:library:1.5.1'
11 滑动返回库(还没用)
implementation 'com.github.bingoogolapple:BGASwipeBackLayout-Android:latestVersion' // 换成己工程里依赖的 support-v4 的版本 implementation 'androidx.legacy:legacy-support-v4:1.0.0'
12解决glide 加载https 图片加载失败问题
implementation 'com.github.bumptech.glide:okhttp3-integration:4.5.0@aar' implementation 'com.github.bumptech.glide:annotations:4.5.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'
13 动态图库
implementation ('com.airbnb.android:lottie:3.0.3')
14 指示器 viewpager
implementation 'com.github.hackware1993:MagicIndicator:1.7.0'
15 图片压缩库
implementation 'com.github.Shouheng88:compressor:latest-version'
记录一下性能检测工具 dokit
一个dialog 库支持各种展示动画 出现方式
16 implementation 'com.orhanobut:dialogplus:1.11@aar'
17 反射库 支持Android9以上进行反射 不收Android 限制
FreeReflection GitHub - tiann/FreeReflection: A library that lets you use reflection without any restriction above Android P
18 推荐的强大的 inline hook 库(需要学习 只需要找到一个关键的执行流程,hook其中的某个函数,修改他的返回值就OK了)