Android常用开发框架

  • 黄油刀
    implementation 'com.jakewharton:butterknife:9.0.0-rc2'
    annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0-rc2'
  • 网络请求拦截
    debugImplementation 'com.readystatesoftware.chuck:library:1.1.0'
    releaseImplementation 'com.readystatesoftware.chuck:library-no-op:1.1.0'
  • 网络
    implementation 'com.squareup.retrofit2:retrofit:2.5.0'
    implementation 'io.reactivex.rxjava2:rxjava:2.2.4'
    implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
    implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
  • 转换器,请求结果转换成Model
    implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
    implementation 'com.trello.rxlifecycle2:rxlifecycle-components:2.1.0'
  • 通用的banner
    implementation 'com.bigkoo:ConvenientBanner:2.1.4'
    implementation 'com.youth.banner:banner:1.4.10'
  • 图片加载
    implementation 'com.github.bumptech.glide:glide:4.8.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
    implementation 'jp.wasabeef:glide-transformations:4.0.1'
  • 图片选择
    implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.2.3'
  • android运行时权限申请库
    implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
  • 刷新和加载的控件
    implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-16'
    implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-16'
  • 多功能适配器
    implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
  • 阿里路由器 support-v4包冲突
    classpath "com.alibaba:arouter-register:1.0.2"
    implementation('com.alibaba:arouter-api:1.4.1') {
    exclude group: 'com.android.support'
    }
    annotationProcessor 'com.alibaba:arouter-compiler:1.2.2'
  • 弹窗
    implementation 'com.github.razerdp:BasePopup_Candy:2.1.5-beta3'
  • 本地存储
    implementation 'com.orhanobut:hawk:2.0.1'
    https://github.com/Tencent/MMKV
    (ps:可以使用mmkv代替sp,微信开源产品,持续更新)
  • 日志
    implementation 'com.elvishew:xlog:1.6.1'
  • 弹窗
    implementation 'com.github.GrenderG:Toasty:1.3.1'
  • Android原生控件
    implementation 'com.github.xuexiangjys:XUI:1.0.1'
  • Android工具类
    implementation 'com.blankj:utilcode:1.23.7'
    // if u use AndroidX, use the following
    implementation 'com.blankj:utilcodex:1.23.7'
  • Android注解
    compileOnly 'org.projectlombok:lombok:1.18.6'
    annotationProcessor 'org.projectlombok:lombok:1.18.6'
  • LazViewPager一个懒加载ViewPager(改写v4的源码)
    https://github.com/MIRRORCF/LazyViewPager
  • Indicator控件
    implementation 'com.github.hackware1993:MagicIndicator:1.6.0'
  • HtmlSpanner(一个加载本地Html并可以点击选中图片、文字和超链接的图片框架)
    https://github.com/MIRRORCF/httpspanner
  • Okhttp添加拦截器Intercept
    LogInterceptor
  • Gif加载控件
    https://github.com/koral--/android-gif-drawable
    (ps:这个控件与Realm有冲突(pl.droidsonroids.relinker:relinker,就是这个控件导致冲突了,去掉重新编译就好),需要本地编译一次)
  • Switch 风格 checkbox
    https://github.com/kyleduo/SwitchButton
    (ps:这个控件有个好处,在setOnCheckedChangeListener可以很容易控制switch的状态)
  • SupperButton
    https://github.com/ansnail/SuperButton
  • Android 屏幕适配插件 ScreenMatch
    https://www.jianshu.com/p/e559f1b82fc5
  • ImageWatcher图片放大缩小控件
    [https://github.com/iielse/imageviewer]

你可能感兴趣的:(Android常用开发框架)