here is my code, whenever i try to make the Response to convert to toString() i get the error
private void fetchStoreItems() {
String url = "https://newsapi.org/v1/articles?source=techcrunch&apiKey=47bdfe44632849b4bdf0c2a9035a68e7";
JsonArrayRequest jsonArrayRequest = new JsonArrayRequest(Request.Method.GET,
url, new com.android.volley.Response.Listener<JSONArray>() {
@Override
public void onResponse(JSONArray response) {
VolleyLog.d("ecardCalled: ", response.toString());
}
},new com.android.volley.Response.ErrorListener(){
@Override
public void onErrorResponse(VolleyError error) {
VolleyLog.d("ecardCalled: ", error.toString());
}
});
MyApplication.getInstance().addToRequestQueue(jsonArrayRequest);
}
what am i not actually doing Right?
