Skip to content
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

Merged
merged 6 commits into from
Jan 14, 2016
Merged

Conversation

xiuweikang
Copy link
Contributor

translate retrofit-getting-started finished

@Glowin Glowin mentioned this pull request Dec 27, 2015

## How to Declare (API) Requests
## 如何去声明请求(或者API)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如何去声明(API)请求

@xiuweikang
Copy link
Contributor Author

审核完待通过。。

@kassadin
Copy link
Contributor

kassadin commented Jan 3, 2016

已校对

@xiuweikang
Copy link
Contributor Author

@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转换器。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

显式,一个错别字

@xiuweikang
Copy link
Contributor Author

@Glowin 请求merge。

@Glowin
Copy link
Member

Glowin commented Jan 14, 2016

翻译的好流畅,感谢译者 @xiuweikang 的精彩翻译,以及两位审核译者的意见建议 @foolishgao @kassadin。另外,如果没有加翻译计划微信群的加我微信 Glowjiang,我来拉大家。

Glowin added a commit that referenced this pull request Jan 14, 2016
 translate retrofit-getting-started finished
@Glowin Glowin merged commit 04e0dec into xitu:master Jan 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants