1
0
mirror of https://github.com/sunflower-zyb/Blog.git synced 2025-06-08 07:24:08 +08:00
Blog/R/Retrofit.md
2016-01-27 18:19:39 +08:00

31 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#Retrofit
简要说明
## 基础篇
[使用Retrofit请求API数据codepath教程](http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/1016/3588.html)
初学者可以看此篇教程。
[用 Retrofit 2 简化 HTTP 请求-来自 Droidcon NYC 2015 一个演讲](http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/1109/3662.html)
来自[Jake Wharton](https://github.com/JakeWharton)大神的一次分享,覆盖了所有 Retrofit 2.0 的新特性,全面介绍了 Retrofit 2.0 工作原理。
## 源码解析
[Android网络框架源码分析二---Retrofit](http://www.jianshu.com/p/07dac989272c)
Retrofit源码解析,写的很详细。需要先了解动态代理以及注解相关知识。
[Retrofit源码解析](http://frodoking.github.io/2015/05/16/android-retrofit/)
Retrofit源码解析不是根据最新版2.0.0-beta3
[迷之RxJava—— Retrofit和RxJava的基情](http://www.jianshu.com/p/ed0641d78f99)
看完RxJava之后可以再看这一篇。主要介绍了RxJavaCallAdapterFactory——用来把Retrofit转成RxJava可用的适配类。