Android团队开发使用第三方库汇总

调试工具(仅限于开发环境)

Hugo    -- aop,打印函数的传入参数,返回结果以及函数执行时间,对代码的入侵很小https://github.com/JakeWharton/hugo(亲测,可用,方便)

Timber -- 打印log比较方便,https://github.com/JakeWharton/timber(亲测,可用,方便)

Leakcanary -- 查看内存泄漏,https://github.com/square/leakcanary(亲测,可用)

Scalpel -- 可以查看界面的图层,3D的效果,不像开发者选项中 开启显示布局边界 是平面的线框

Stetcho -- facebook开源的一个Android开发调试工具,可以监测http请求,查看与操作sqlite,查看与操作sharedpreference,查看view的层级,(亲测,网络http请求,可用)

第三方库推荐

joda time,代替Java原有的Date类,使用上更方便,json序列化的时候,需要注意https://github.com/dlew/joda-time-android(亲测,可用,方便)

butterknife,依赖注入,https://github.com/JakeWharton/butterknife

okhttp,网络请求,https://github.com/square/okhttp

volley,网络请求,https://github.com/mcxiaoke/android-volley

eventbus,消息总线,https://github.com/greenrobot/EventBus

picasso,图片加载,https://github.com/square/picasso

init,app初始化加速,https://github.com/markzhai/init

建议尝试:

dagger,一个快速的依赖注入库,https://github.com/square/dagger

RxJava,响应式编程,解放异步编程,https://github.com/ReactiveX/RxJava

SmartAppUpdates,android应用增量更新,https://github.com/cundong/SmartAppUpdates

Nuwa,hotfix框架,https://github.com/jasonross/Nuwa

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容