DEV Community

Discussion on: Kotlin and retrofit network calls

Collapse
 
petestmart profile image
Pete St. Martin • Edited

Figured it out!

In the RecyclerView adapter

Glide.with(itemView.context).load("http://image.tmdb.org/t/p/w500${movie.poster_path}").into(photo)

Should be:

Glide.with(itemView.context).load("https://image.tmdb.org/t/p/w500${movie.poster_path}").into(photo)

I don't know if things have changed, but the http should be an https or nothing will send.