Android 第三方框架使用及原理解析 原创
Android 第三方框架使用及原理解析
图片加载
Universal-Image-Loader
Universal-Image-Loader完全解析(一)— 基本介绍及使用
Universal-Image-Loader完全解析(二)— 图片缓存策略详解
Universal-Image-Loader完全解析(三)—源代码解读
Glide
- 开源地址 https://github.com/bumptech/glide
- 使用文档 https://muyangmin.github.io/glide-docs-cn/
- Glide 加载原理 https://www.jianshu.com/p/9d8aeaa5a329
- 缓存机制 https://www.jianshu.com/p/17644406396b
- Glide系列 嘎啦果安卓兽@简书 https://www.jianshu.com/nb/23459686
- Glide LruCache使用及源码解析 https://juejin.im/post/5e535a4b518825496452b063
图片加载框架对比
https://www.jianshu.com/p/89ab4f415bf8
图片伸缩
https://github.com/davemorrissey/subsampling-scale-image-view
View 相关
RecyclerView
- 自定义LayoutManager,RecyclerView中如何自定义LayoutManager
VLayout实现原理,即如何自定义LayoutManager
DialogV3 安全简洁易用
相关介绍:https://github.com/kongzue/DialogV3
网络相关
okhttp原理及拦截器详解
https://www.jianshu.com/p/d7eced552553
Retrofit 的实现与原理
Retrofit 在 OkHttp 上做了哪些封装?动态代理和静态代理的区别,是怎么实现的
架构设计相关
EventBus实现原理
用LiveDataBus替代RxBus、EventBus
Androi消息总线的演进之路:用LiveDataBus替代RxBus、EventBus
https://tech.meituan.com/2018/07/26/android-livedatabus.html
消息总线 | 延迟发送 | 有序接收消息 | Sticky | 生命周期感知 | 跨进程/APP | 线程分发 |
---|---|---|---|---|---|---|
EventBus | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ |
RxBus | ❌ | ❌ | ✅ | ❌ | ❌ | ✅ |
LiveEventBus | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
ButterKnife实现原理
RxJava实现原理
RxJava 的线程切换原理
Dagger2
Dagger2@github: https://github.com/google/dagger
Dagger2@demo:https://github.com/google/dagger/tree/master/examples/simple
LeakCanary
组件化开发
-
ARouter
ARouter使用 @Github https://github.com/alibaba/ARouter
源码解析 https://www.jianshu.com/p/5b35309e9bb2 -
CC实现原理
CC@github https://github.com/luckybilly/CC
关于CC https://qibilly.com/CC-website/#/about
CC 使用 https://qibilly.com/CC-website/#/integration
CC原理 https://qibilly.com/CC-website/#/article-cc-principle
插件化开发
- Android插件化原理解析
https://www.jianshu.com/p/d3231a15afee
示例 https://github.com/xch168/PluginDemo - 常见android插件框架对比
https://blog.csdn.net/CSqingchen/article/details/106540681 - RePlugin流程与源码解析
https://www.jianshu.com/p/18530be5dcdd
热修复实现原理,解决方案
- 美团 Robust https://github.com/Meituan-Dianping/Robust/blob/master/README-zh.md
- 腾讯 Tinker https://github.com/Tencent/tinker
- 阿里 https://github.com/alibaba/AndFix (很久未维护)
参考自 http://blog.csdn.net/lmj623565791/article/details/49883661
多渠道打包方案及原理
-
腾讯的VasDolly https://github.com/Tencent/VasDolly
VasDolly 原理 https://github.com/Tencent/VasDolly/wiki/VasDolly实现原理 -
美团的 walle https://github.com/Meituan-Dianping/walle
walle 原理 https://tech.meituan.com/2017/01/13/android-apk-v2-signature-scheme.html
多渠道打包工具对比 | VasDolly | packer-ng-plugin | Walle |
---|---|---|---|
V1签名方案 | 支持 | 支持 | 不支持 |
V2签名方案 | 支持 | 不支持 | 支持 |
已有注释块的APK | 支持 | 不支持 | 不支持 |
根据已有APK生成渠道包 | 支持 | 不支持 | 不支持 |
命令行工具 | 支持 | 支持 | 支持 |
强校验 | 支持 | 不支持 | 不支持 |
多线程加速打包 | 支持 | 不支持 | 不支持 |
Android WebView独立进程解决方案
https://www.jianshu.com/p/b66c225c19e2
Github:源码 https://github.com/xudjx/webprogress
Android进程通信以及多进程
原创文章,转载请注明出处、原文链接!me@h89.cn 我的主页https://chenjim.com
相关系列文章推荐
- 算法与数据结构
- Java基础知识点总结
- Android 基础知识点相关
- Android View 相关
- Android APP 架构设计相关
- Android 第三方框架的原理解析相关
- 好用的Android开源框架整理
- Android 网络 相关
- Android Flutter 相关
- Android Kotlin 相关
- Android 性能优化
本文来自博客园,作者:清霜辰,转载请注明原文链接:https://www.cnblogs.com/cnjim/p/18443473
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了