i am trying to get JSON values from server. I don\'t know what is wrong with my code. I am using AsyncTask and here is my code in doInBackground
AsyncTask
doInBackground
Check if the response is not empty before process the JSON:
if (response.success()) { if (response.getData() == null) { return null; } else if (response.getData().length() <= 0){ return null; } try { // Logic