We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我使用的代码
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(); } } }); }
The text was updated successfully, but these errors were encountered:
@huanyuan 谢谢提出问题
Sorry, something went wrong.
@huanyuan 使用RxPost
No branches or pull requests
我使用的代码
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();
}
}
});
}
The text was updated successfully, but these errors were encountered: