How can i get images from an an API through JSON or recommend me a better way : <p>I am getting response from cricinfo api in a listview but these are only strings i am not able to get image for every newsfeed. You can see imageview as like dots above every layout in listview. 
<a href="https://i.stack.imgur.com/1c5Bf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1c5Bf.jpg" alt="enter image description here"></a></p>

<p>here is my code.</p>

<pre><code> protected Void doInBackground(Void... arg0) {
        HttpHandler sh = new HttpHandler();
        // Making a request to url and getting response
        String jsonStr = sh.makeServiceCall(url);

        Log.e(TAG, "Response from url: " + jsonStr);

        if (jsonStr != null) {
            try {
                JSONObject jsonObj = new JSONObject(jsonStr);
                JSONArray contacts = jsonObj.getJSONArray("articles");

                for (int i = 0; i &lt; contacts.length(); i++) {
                    JSONObject c = contacts.getJSONObject(i);

                    String author = c.getString("author");
                    String title = c.getString("title");
                    String decpn = c.getString("description");
                    String date=c.getString("publishedAt");
                    String image=c.getString("urlToImage");


                    // tmp hash map for single contact
                    HashMap&lt;String, String&gt; news = new HashMap&lt;&gt;();

                    news.put("author", author);
                    news.put("title", title);
                    news.put("publishedAt" , date);
                    news.put("description", decpn);
                    news.put("urlToImage" , image);

                    newslist.add(news);
</code></pre>
