Skip to content

Instantly share code, notes, and snippets.

@ssinss
Last active February 22, 2022 12:50
Show Gist options
  • Save ssinss/5387661 to your computer and use it in GitHub Desktop.
Save ssinss/5387661 to your computer and use it in GitHub Desktop.
loopj async http 오버라이딩폼
AsyncHttpClient client = new AsyncHttpClient();
client.get("http://www.google.com", new JsonHttpResponseHandler() {
@Override
public void onStart() {
// Initiated the request
}
@Override
public void onSuccess(JSONObject o) {
// 또는 JSONArray a
}
@Override
public void onFailure(Throwable e, JSONObject o) {
// Response failed :(
}
@Override
public void onFinish() {
// Completed the request (either success or failure)
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment