Note that the Asynctask is working perfectly.
What is the problem here? Can anyone please help me?
Note that the Asynctask is working perfectly.
What is the problem here? Can anyone please help me?
You are trying to read property from array
, use below syntax
JSONArray array = new JSONArray (response.toString());
JSONObject object = array.getJSONObject(0);
String url = object.getString("image");