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

怎么没有处理异常的代码!! #42

Closed
66668 opened this issue May 16, 2017 · 1 comment
Closed

怎么没有处理异常的代码!! #42

66668 opened this issue May 16, 2017 · 1 comment

Comments

@66668
Copy link

66668 commented May 16, 2017

Subscription get = HttpClient.Builder.getDouBanService().getBook(mType, mStart, mCount)
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(new Observer() {}
这段代码如何添加解析{"code":0,"message":"","result":""}的代码
我想在登录的时候根据code状态判断是否登录,大神,求带

@youlookwhat
Copy link
Owner

希望你自己处理

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

No branches or pull requests

2 participants