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

1.5.5有时会导致anry异常啊, #82

Open
huanyuan opened this issue Jun 29, 2018 · 2 comments
Open

1.5.5有时会导致anry异常啊, #82

huanyuan opened this issue Jun 29, 2018 · 2 comments

Comments

@huanyuan
Copy link

qq 20180627140734
我使用的代码

public void getCityBeanHttp() {
HashMap parameters = new HashMap<>();
new Novate.Builder(Application.getApplication())
.baseUrl(ApiConstants.ENURL)
.build()
.post(ApiConstants.ENURL_PATH, parameters,
new BaseSubscriber() {
@OverRide
public void onError(Throwable e) {
LogTools.d("onError()===: " + e.getMessage());
}
@OverRide
public void onNext(ResponseBody responseBody) {
try {
LogTools.d("CityBean onNext()===: " + new String(responseBody.bytes()));
} catch (IOException e) {
e.printStackTrace();
}
}
});
}

@Tamicer
Copy link
Owner

Tamicer commented Jun 29, 2018

@huanyuan 谢谢提出问题

@Tamicer
Copy link
Owner

Tamicer commented Jul 19, 2018

@huanyuan 使用RxPost

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