0

Problem with getting the thumbnails

Recently I was working on a project where I was supposed to getting the Book thumbnail from Google Books API

The JSON was as the following :

"imageLinks": {"smallThumbnail": "http://books.google.com/books/content?id=2wqEtgAACAAJ&printsec=frontcover&img=1&zoom=5&source=gbs_api"

,"thumbnail": "http://books.google.com/books/content?id=2wqEtgAACAAJ&printsec=frontcover&img=1&zoom=1&source=gbs_api"},

I tried Picasso Lib.

The Problem is when I was getting the thumbnail with these links the ImageView wasn't updated

Solution

It's very simple, Just replace http with https

**Notice that in both cases the image is already loaded.

Ali El-Sayed
  • 31
  • 1
  • 2

0 Answers0