Fast-Android-Networking icon indicating copy to clipboard operation
Fast-Android-Networking copied to clipboard

Problem with JSONArray

Open mercadeoshop opened this issue 4 years ago • 0 comments

Hi, i was using a old version of FAN: 0.3.0, and i was using the next code for getting the info of some ips:

AndroidNetworking.post(getString(R.string.url_check_ip_batch)) .addJSONArrayBody(jsonArray) .setTag("getIpInfo") .setPriority(Priority.MEDIUM) .build() .getAsJSONArray(new JSONArrayRequestListener() { @Override public void onResponse(JSONArray response) { if (dbHelper.setIpInfo(response, serverList)) ipInfoResult(); } @Override public void onError(ANError error) {

                }
            });

The problem is when i update the version to 1.0.2 stop working, even if i change to 0.4.0 stop works. Change some variable?

Thank you in advance

mercadeoshop avatar Apr 14 '20 04:04 mercadeoshop