0
@Override    
public void onSuccess(String response) {
    progressDialog.hide();
    Toast.makeText(getApplicationContext(), response, Toast.LENGTH_LONG).show();
}
4

1 回答 1

0

只需将库更新到 1.4.9

compile 'com.loopj.android:android-async-http:1.4.9'

@Override
public void onSuccess(int statusCode, Header[] headers, byte[] responseBody) {
//code here 
}
于 2017-11-16T17:39:02.943 回答