I'm trying to create asynchronous rest call in Android using a library com.loopj.android.http.AsyncHttpClient
however, i'm unable to implement AsyncHttpResponseHandler's overridden methods because Android Studio cannot find an appropriate import for Header
class
How can I resolve the issue with the Header class not recognized by the Android Studio IDE?
public void onSuccess(int statusCode, Header[] headers, byte[] response) {
// called when response HTTP status is "200 OK"
}
I see that if I mouse over and click on the Header, I get the following message, but I don't know how to select one of the multiple choices in this menu (moving the mouse dismisses it)