-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
translate retrofit-getting-started finished #61
Conversation
|
||
## How to Declare (API) Requests | ||
## 如何去声明请求(或者API) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如何去声明(API)请求
审核完待通过。。 |
已校对 |
@foolishgao 不知道审核完了么。 |
|
||
Retrofit 1.9 ships with Google’s GSON by default. All you need to do is define the class of your response object and the response will be mapped automatically. | ||
当用Retrofit 2时,你需要对`Retrofit`对象显示的添加一个转换器(converter).这就是为什么我们要在Retrofit的 builder上调用`.addConverterFactory(GsonConverterFactory.create())`去集成GSON作为默认的JSON转换器。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
显式,一个错别字
@Glowin 请求merge。 |
翻译的好流畅,感谢译者 @xiuweikang 的精彩翻译,以及两位审核译者的意见建议 @foolishgao @kassadin。另外,如果没有加翻译计划微信群的加我微信 Glowjiang,我来拉大家。 |
translate retrofit-getting-started finished
translate retrofit-getting-started finished