0x00  leakcanary 【内存泄漏检测】

Leakcanary : A memory leak detection library for Android and Java.

良心企业Square最近刚开源的一个非常有用的工具,强烈推荐

帮助你在开发阶段方便的检测出内存泄露的问题,使用起来更简单方便

Tips:

A very useful tool for corporate conscience Square recently gettin source, it is strongly recommended

Help you in the development stage to facilitate detect memory leak problem, More simple and convenient to use

Leakcanary开源项目地址:https://github.com/square/leakcanary

0x01 OKHttp 【Android Http请求库】

OKHttp:  An HTTP+HTTP/2 client for Android and Java applications

OkHttp 是一个 Java 和 Android 平台的 Http 请求库,非常高效,支持 SPDY、连接池、GZIP 和 HTTP 缓存。

默认情况下,OKHttp 会自动处理常见的网络问题,像二次连接、SSL 的握手问题。

Retrofit : Type-safe HTTP client for Android and Java by Square

Retrofit 是一套 RESTful 架构的 Android 和 Java 平台 Http 请求库的客户端实现,基于注解,

提供JSON to POJO(Plain Ordinary Java Object,简单Java对象),

POJO to JSON,网络请求(POST,GET,PUT,DELETE等)封装。

但是如果你的应用程序中集成了 OkHttp,Retrofit 默认会使用 OkHttp 处理其他网络层请求。

所以一句话如果你想让你的网络请求写的更优雅那推荐使用 Retrofit ,尤其是跟 RxJava 结合起来更好用,否则直接使用 OkHttp 一样是可以的。

Okhttp开源项目地址:https://github.com/square/okhttp

Retrofit 开源项目地址:https://github.com/square/retrofit

 0x02 picasso【图片加载】

Picasso: A powerful image downloading and caching library for Android

一个强大的图片加载和缓存Android库

调用方式:Picasso.with(context).load("http://i.imgur.com/DvpvklR.png").into(imageView);

Picasso开源项目地址:  https://github.com/square/picasso

最新文章

  1. JavaScript-table+大图滚动
  2. Serializable
  3. AngularJs基础总结(1.4版本)
  4. node.js基础 1之 URL网址解析的好帮手
  5. oracle字符函数
  6. String.Format数字格式化输出 {0:N2} {0:D2} {0:C2
  7. 手机摇一摇效果-html5
  8. 6、Khala的登录生命周期管理
  9. deepinmind(转)
  10. GridControl 设置自带选中复选框及设置该列列头名称
  11. 面试官最爱的volatile关键字
  12. Python 之 type方法创建类
  13. keepalived的vip无法ping通【原创】
  14. spring mvc简单介绍xml版
  15. 【终结版】C#常用函数和方法集汇总
  16. jmeter BeanShell断言(一)
  17. Apache 源码安装
  18. 完善_IO, _IOR, _IOW, _IOWR 宏的用法与解析
  19. List集合中的对象进行排序
  20. openpose

热门文章

  1. #ifndef 的用法介绍
  2. exit() 与 return() 的区别
  3. docker 集群 flannel网络构建
  4. 第一个nodejs爬虫:爬取豆瓣电影图片
  5. pat 甲级 1064. Complete Binary Search Tree (30)
  6. 【HDOJ5527】Too Rich(贪心,构造)
  7. 利用input-radio和input-checkbox的表单特性可以节省很多js代码
  8. eclipse在linux下无故闪退解决
  9. shell文本过滤编程(一):grep和正则表达式【转】
  10. activeMQ队列模式和主题模式的Java实现