• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

陈文管的博客

分享有价值的内容

  • Android
  • Affiliate
  • SEO
  • 前后端
  • 网站建设
  • 自动化
  • 开发资源
  • 关于

Android开源框架指南

2019年2月23日发布 | 最近更新于 2023年8月28日

本文内容是关于Android开源框架链接资源,及相对较好的框架解析参考资料,在线源码链接资源分享整理,你想了解的Android开源框架一手参考资料都在这里,持续更新中~

一、四大图片加载框架

1、官方资源

  • Universal Image Loader Git源码:https://github.com/nostra13/Android-Universal-Image-Loader 
  • Universal Image Loader Wiki文档:https://github.com/nostra13/Android-Universal-Image-Loader/wiki
  • Glide Git源码:https://github.com/bumptech/glide
  • Glide官方中文文档:https://muyangmin.github.io/glide-docs-cn/
  • Glide Java文档:https://muyangmin.github.io/glide-docs-cn/ref/javadocs.html
  • Picasso Git源码:https://github.com/square/picasso
  • Picasso官网:http://square.github.io/picasso/
  • Fresco 官方中文文档:https://www.fresco-cn.org/docs/ 
  • Fresco官网简介:https://code.facebook.com/posts/366199913563917
  • Fresco Git源码:https://github.com/facebook/fresco 

2、其他可选库

AndroidQuery : ImageLoading

DroidParts : ImageFetcher

UrlImageViewHelper

Volley : ImageLoader

3、框架解析参考资料

图片加载框架Universal-Image-Loader源码解析

Android Universal Image Loader源码分析

Android图片加载框架最全解析(一),Glide的基本用法 

Guilde源码详解

Picasso源代码分析

Picasso源码分析

Fresco图片框架内部实现原理探索 

Fresco源码解读

Android 三大图片加载库缓存原理,特性对比 

二、响应式编程

1、官方资源

  • RxJava Git源码:https://github.com/ReactiveX/RxJava
  • RxJava Wiki文档:https://github.com/ReactiveX/RxJava/wiki
  • RxJava Wiki Java文档:http://reactivex.io/RxJava/2.x/javadoc/ 
  • Google Agera Git源码:https://github.com/google/agera
  • Google Agera Wiki文档:https://github.com/google/agera/wiki

基于RxJava上的扩展有RxAndroid、RxBinding、RxJavaJoins:

  • RxAndroid Git源码:https://github.com/ReactiveX/RxAndroid
  • RxBinding Git源码:https://github.com/JakeWharton/RxBinding
  • RxJavaJoins Git源码:https://github.com/ReactiveX/RxJavaJoins

2、框架解析参考资料

给Android开发者的RxJava详解

三、依赖注入

1、官方资源

  • ButterKnife Git源码:https://github.com/JakeWharton/butterknife
  • ButterKnife 官方文档:http://jakewharton.github.io/butterknife/
  • Dagger Git源码:https://github.com/google/dagger
  • Dagger 官方文档:https://google.github.io/dagger/
  • Dagger API文档:https://google.github.io/dagger/api/2.0/
  • AndroidAnnotations GIT源码:https://github.com/androidannotations/androidannotations
  • AndroidAnnotations 官方文档:https://github.com/androidannotations/androidannotations/wiki

2、框架解析参考资料

Android ButterKnife 中文手册

四、网络请求

1、官方资源

  • Retrofit Git源码:https://github.com/square/retrofit 
  • Retrofit 官方文档:https://square.github.io/retrofit/ 
  • OKHttp Git源码:https://github.com/square/okhttp 
  • OKHttp 官方文档:https://square.github.io/okhttp/ 
  • OKHttp Wiki文档:https://github.com/square/okhttp/wiki
  • Android Async Http Git源码:https://github.com/loopj/android-async-http 
  • Android Async Http 官方文档:https://loopj.com/android-async-http/ 
  • Android Async Http Java文档:https://loopj.com/android-async-http/doc/ 
  • Volley Google Source源码:https://android.googlesource.com/platform/frameworks/volley 
  • AndroidAsync Git源码:https://github.com/koush/AndroidAsync

2、框架解析参考资料

Android:手把手带你深入读懂Retrofit 2.0 源码

拆轮子系列:拆 Retrofit

Retrofit源码解析

【Android】Retrofit源码分析

拆轮子系列:拆 OkHttp

OKHttp源码解析

OkHttp3源码分析

android-async-http 源码分析  

android-async-http 源码原理解析

Volley 源码解析

五、事件总线

1、官方资源

  • EventBus Git源码:https://github.com/greenrobot/EventBus
  • EventBus 官网:http://greenrobot.org/eventbus
  • EventBus 官方文档:http://greenrobot.org/eventbus/documentation/
  • Otto Git源码:https://github.com/square/otto 
  • Otto 官网:http://square.github.io/otto/
  • AndroidEventBus Git源码(已不再维护):https://github.com/hehonghui/AndroidEventBus

2、框架解析参考资料

EventBus 源码解析

【Android】EventBus 3.0 源码分析 

Android事件总线(一)EventBus3.0用法全解析

Otto源码解析

六、网络解析

1、官方资源

  • Gson Git源码:https://github.com/google/gson
  • Gson Java文档:http://www.javadoc.io/doc/com.google.code.gson/gson/2.8.5 
  • Fastjson Git源码:https://github.com/alibaba/fastjson 
  • Fastjson Wiki文档:https://github.com/alibaba/fastjson/wiki 
  • Jsoup Git源码:https://github.com/jhy/jsoup 
  • Jsoup API文档:https://jsoup.org/apidocs/overview-summary.html
  • Moshi Git源码:https://github.com/square/moshi
  • Moshi Java文档:https://square.github.io/moshi/1.x/moshi/ 
  • Jackson Git源码(已不再维护):https://github.com/codehaus/jackson 

2、框架解析参考资料

数据解析之使用GSON解析JSON字符串

Gson 解析复杂数据

Gson源码设计学习

Jsoup解析Html中文文档

Android Jackson、Gson、FastJson解析框架对比 

Android 之 json 解析(FastJson Gson 对比)

fastjson这么快老外为啥还是热衷 jackson?  

七、数据库

1、官方资源

  • GreenDAO Git源码:https://github.com/greenrobot/greenDAO
  • GreenDAO 官网:http://greenrobot.org/greendao/ 
  • Sugar Git源码:https://github.com/chennaione/sugar
  • Sugar Git文档:http://satyan.github.io/sugar/ 
  • Requery Git源码:https://github.com/requery/requery
  • Requery Wiki文档:https://github.com/requery/requery/wiki/Android
  • Realm 官网:https://realm.io/ 
  • Realm Java文档:https://realm.io/docs/java/latest 
  • ActiveAndroid Git源码:https://github.com/pardom-zz/ActiveAndroid
  • ActiveAndroid Wiki文档:https://github.com/pardom-zz/ActiveAndroid/wiki
  • SQL Brite Git源码:https://github.com/square/sqlbrite
  • OrmLite 官网:https://sourceforge.net/projects/ormlite/files/releases/com/j256/ormlite/ 

2、框架解析参考资料

ORM对象关系映射之GreenDAO源码解析

Android ORM 框架之 greenDAO 使用心得

Android ORM数据库之GreenDao使用教程及源码分析 

Sugar ORM 简介

shiro源码分析(四)具体的Realm 

Realm(Java)的那些事 

ActiveAndroid源码分析 

ORMLite完全解析(一)

Room,Realm, ObjectBox 你选择哪个?

八、Log框架

1、官方资源

  • Logger Git源码:https://github.com/orhanobut/logger
  • Hugo Git源码:https://github.com/JakeWharton/hugo
  • Timber Git源码:https://github.com/JakeWharton/timber 
  • DebugLog Git源码:https://github.com/MustafaFerhan/DebugLog 

九、性能优化

1、官方资源

  • Leakcanary Git源码:https://github.com/square/leakcanary
  • ACRA Git源码:https://github.com/ACRA/acra

2、框架解析参考资料

LeakCanary源码分析

Google Acra源码研究报告

十、安全

1、官方资源

  • Conceal Git源码:https://github.com/facebook/conceal
  • Conceal 官方文档:http://facebook.github.io/conceal/documentation/
  • SQLCipher Git源码:https://github.com/sqlcipher/android-database-sqlcipher 

十一、后台处理

1、官方资源

  • Android Priority Job Queue Git源码:https://github.com/yigit/android-priority-jobqueue
  • Android Priority Job Queue Java文档:http://yigit.github.io/android-priority-jobqueue/javadoc/index.html
  • Bolts-Android Git源码:https://github.com/BoltsFramework/Bolts-Android 
  • Tape Git源码:https://github.com/square/tape 
  • Tap 官方文档:http://square.github.io/tape/

2、框架解析参考资料

android-priority-jobqueue源码分析

bolts全收集流程攻略解析

Android Bolts Task 从入门到放弃

十二、热修复

1、官方资源

  • AndFix Git源码:http://https://github.com/alibaba/AndFix
  • AndFix Java文档:https://rawgit.com/alibaba/AndFix/master/docs/index.html
  • Amigo Git源码:https://github.com/eleme/Amigo
  • Amigo Wiki文档:https://github.com/eleme/Amigo/wiki
  • Tinker Git源码:https://github.com/Tencent/tinker
  • Tinker Wiki文档:https://github.com/Tencent/tinker/wiki
  • Robust Git源码:https://github.com/Meituan-Dianping/Robust
  • Robust Wiki文档:https://github.com/Meituan-Dianping/Robust/wiki
  • Nuwa Git源码:https://github.com/jasonross/Nuwa 
  • HotFix Git源码:https://github.com/dodola/HotFix  
  • Dexposed Git源码:https://github.com/alibaba/dexposed 
  • AnoleFix Git源码:https://github.com/dodola/AnoleFix

2、框架解析参考资料

Android热修复技术原理详解

微信Tinker的一切都在这里,包括源码

微信Android热补丁实践演进之路

Android_N混合编译与对热补丁影响解析 

各大热补丁方案分析和比较 

安卓App热补丁动态修复技术介绍  

Alibaba热修复方案系列文章(包含AndFix、Dexposed框架)

Instant Run工作原理及用法

Android 热修复Nuwa的原理及Gradle插件源码解析

全面了解Android热修复技术

Android 热修复专题:支付宝、淘宝、微信、QQ空间、饿了么、美丽说蘑菇街、美团大众点评方案集合

Android 热修复原理和实现

十三、在线源码资源

1. AndroidXref

http://androidxref.com/

左侧边栏可以选择Android平台版本

AndroidXRef首页

右侧选择框里面可以滚动选择要搜索的文件夹,一般是查看framework的类,直接单机选中之后进行搜索。

AndroidXRef搜索页面

2. GrepCode

http://www.grepcode.com/

也是用来查看Android的源码,之前可用,现在似乎挂了。

3. Android官网

https://developer.android.com/reference/classes
Android 官网源码资源

4. zGrepCode

https://zgrepcode.com/

多个项目的在线开源代码资源,包括Java、Hadoop、Cassandra、Google Guava、Kafka Streaming、 Hibernate、Zookeeper、Elastic Search、Google Gson、Log4J、Debezium、Joda-Time、java-design-patterns (iluwatar)

zGrepCode在线开源代码资源

5. AOSP(需要翻墙)

https://cs.android.com/

Android 开源项目 (AOSP) 的代码搜索工具,目前的功能有:

  • 方便的查看、搜索源代码
  • 在整个代码库之间进行交叉引用的代码跳转,可以单击源代码的一部分跳转到另一部分
  • 在 Android 的开源代码分支之间进行切换 (并非所有分支都有交叉引用信息)

关于代码搜索工具的相关说明和文档可以在这里查看:

https://source.android.google.cn/setup/contribute/code-search

除了搜索 Android 开源项目 (AOSP) 的代码之外,同时提供了 CameraX、Jetpack Compose 等 AndroidX 库的源码搜索。

Android Code Search

文章目录

  • 一、四大图片加载框架
    • 1、官方资源
    • 2、其他可选库
    • 3、框架解析参考资料
  • 二、响应式编程
    • 1、官方资源
    • 2、框架解析参考资料
  • 三、依赖注入
    • 1、官方资源
    • 2、框架解析参考资料
  • 四、网络请求
    • 1、官方资源
    • 2、框架解析参考资料
  • 五、事件总线
    • 1、官方资源
    • 2、框架解析参考资料
  • 六、网络解析
    • 1、官方资源
    • 2、框架解析参考资料
  • 七、数据库
    • 1、官方资源
    • 2、框架解析参考资料
  • 八、Log框架
    • 1、官方资源
  • 九、性能优化
    • 1、官方资源
    • 2、框架解析参考资料
  • 十、安全
    • 1、官方资源
  • 十一、后台处理
    • 1、官方资源
    • 2、框架解析参考资料
  • 十二、热修复
    • 1、官方资源
    • 2、框架解析参考资料
  • 十三、在线源码资源
    • 1. AndroidXref
    • 2. GrepCode
    • 3. Android官网
    • 4. zGrepCode
    • 5. AOSP(需要翻墙)
博客公众号

闽ICP备18001825号-1 · Copyright © 2025 · Powered by chenwenguan.com